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

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 21 08:06:09 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'm also not convinced that's desired behavior. While it may be for
 is_singular, it probably shouldn't be for is_home, which like is_singular
 is calculated based on other flags. As is is_archive. And is_date. Where
 do we stop?

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


More information about the wp-trac mailing list