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

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 19 02:44:31 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 braydonf):

 Replying to [comment:26 scribu]:
 > [attachment:16574.8.diff] makes `__get()` return by reference, which
 should fix the "Indirect modification of overloaded property ... has no
 effect" notice.

 It would be great to have an action/filter to be able to use different
 classes for post depending on it's post_type that would need to be
 extended from this WP_Post_Wrapper class.

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


More information about the wp-trac mailing list