Ticket #14408: 14408.1.diff
File 14408.1.diff, 595 bytes (added by , 11 years ago) |
---|
-
wp-includes/query.php
2695 2695 if ( $this->posts ) 2696 2696 $this->posts = array_map( 'get_post', $this->posts ); 2697 2697 2698 // Setup author data in author archives. 2699 if ( $this->is_author ) 2700 $GLOBALS['authordata'] = $this->get_queried_object(); 2701 2698 2702 // Raw results filter. Prior to status checks. 2699 2703 if ( !$q['suppress_filters'] ) 2700 2704 $this->posts = apply_filters_ref_array('posts_results', array( $this->posts, &$this ) );