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

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 4 00:48:21 UTC 2012


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

Comment (by johnjamesjacoby):

 Something in [19918] broke post ancestors, specifically for bbPress 2.0
 and 2.1.

 Previously, forums, topics, and replies (all custom post types) would come
 with their ancestors pre-populated so they could be walked up through
 their forums to root. Now sometimes there are no ancestors, so things like
 breadcrumbs are showing inaccurate results.

 I've only been able to track it down to being inconsistent ancestor
 results in the cache; I haven't come up with the best place to drop in a
 fix. Most likely a call to _get_post_ancestors( $_post ); is needed
 somewhere.

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


More information about the wp-trac mailing list