WordPress.org

Make WordPress Core

Ticket #14408: 14408.1.diff

File 14408.1.diff, 595 bytes (added by obenland, 5 years ago)
  • wp-includes/query.php

     
    26952695                if ( $this->posts )
    26962696                        $this->posts = array_map( 'get_post', $this->posts );
    26972697
     2698                // Setup author data in author archives.
     2699                if ( $this->is_author )
     2700                        $GLOBALS['authordata'] = $this->get_queried_object();
     2701
    26982702                // Raw results filter. Prior to status checks.
    26992703                if ( !$q['suppress_filters'] )
    27002704                        $this->posts = apply_filters_ref_array('posts_results', array( $this->posts, &$this ) );