[wp-trac] [WordPress Trac] #15773: Lazy load $wp_query->is_singular

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 21 07:05:21 UTC 2011


#15773: Lazy load $wp_query->is_singular
----------------------------+-----------------------------
 Reporter:  scribu          |       Owner:  markjaquith
     Type:  enhancement     |      Status:  reviewing
 Priority:  normal          |   Milestone:  Future Release
Component:  Query           |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  php5 has-patch  |
----------------------------+-----------------------------

Comment (by westi):

 Personally I think magic {{{__get}}} methods are nasty.

 Before making this change we need a reason to do it like a significant
 performance improvement.

 Can you run some measurements on this?

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


More information about the wp-trac mailing list