[wp-trac] [WordPress Trac] #16574: Lazy load ancestors

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 4 13:24:52 UTC 2012


#16574: Lazy load ancestors
-------------------------------------+------------------
 Reporter:  nacin                    |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  3.4
Component:  Performance              |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------

Comment (by scribu):

 > Doesn't seem like it would need a new group all together. The key in the
 posts cache group could simply be ancestors-$id.

 Why would that be better?

 > I did very quick grep in the plugins directory for 'post->ancestors' and
 stopped it after seeing at least 50 plugins (100s of instances) using it.

 Sigh...

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


More information about the wp-trac mailing list