Ticket #3233: 3233.patch
File 3233.patch, 1.3 KB (added by , 7 years ago) |
---|
-
trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-support-compat.php
86 86 * Check the request for the `wporg_user_login`, and then add filters to 87 87 * handle either the feed request or the custom view if a user is found. 88 88 * 89 * @param array $query_vars The query vars 90 * @return array The query vars 89 * @param array $query_vars The query vars. 90 * @return array The query vars. 91 91 */ 92 92 public function request( $query_vars ) { 93 93 if ( isset( $query_vars['wporg_user_login'] ) && ! empty( $query_vars['wporg_user_login'] ) && ! $this->user ) { … … 110 110 } 111 111 112 112 public function topic_pubdate_correction_for_feed( $value, $object_id, $meta_key, $single ) { 113 // We only care about _bbp_last_active_time in this particular context 113 // We only care about _bbp_last_active_time in this particular context. 114 114 if( $meta_key == '_bbp_last_active_time' ) { 115 115 $value = get_post_time( 'Y-m-d H:i:s', true, $object_id ); 116 116 }