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

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 21 07:14:15 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 nacin):

 I don't think the point here is performance; rather, it's a desire for
 is_singular to always be accurate in case is_post, is_page, or
 is_attachment changes.

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


More information about the wp-trac mailing list