Making WordPress.org

Ticket #3233: 3233.patch

File 3233.patch, 1.3 KB (added by mp518, 7 years ago)

correct

  • trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-support-compat.php

     
    8686         * Check the request for the `wporg_user_login`, and then add filters to
    8787         * handle either the feed request or the custom view if a user is found.
    8888         *
    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.
    9191         */
    9292        public function request( $query_vars ) {
    9393                if ( isset( $query_vars['wporg_user_login'] ) && ! empty( $query_vars['wporg_user_login'] ) && ! $this->user ) {
     
    110110        }
    111111
    112112        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.
    114114                if( $meta_key == '_bbp_last_active_time' ) {
    115115                        $value = get_post_time( 'Y-m-d H:i:s', true, $object_id );
    116116                }