[wp-trac] [WordPress Trac] #18536: Improve performance of WP_Query core

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 13 18:04:35 UTC 2012


#18536: Improve performance of WP_Query core
----------------------------+---------------------
 Reporter:  cheald          |       Owner:  ryan
     Type:  task (blessed)  |      Status:  closed
 Priority:  normal          |   Milestone:  3.4
Component:  Performance     |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:  needs-patch     |
----------------------------+---------------------

Comment (by kevinB):

 The [http://wordpress.org/wordpress-3.4-RC3.zip 3.4-RC3.zip] I downloaded
 this morning still has post ID being passed for the status check:

 {{{
 // Check post status to determine if post should be displayed.
 if ( !empty($this->posts) && ($this->is_single || $this->is_page) ) {
     $status = get_post_status($this->posts[0]->ID);
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18536#comment:92>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list