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

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 21 08:27:17 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):

 Also this change is akin to making $is_singular private.

 i.e. it is changing the existing API that a plugin could be using and
 providing no way for it to continue functioning.

 Therefore we need a strong case - like performance (I don't think
 maintainability is one here because we shouldn't be rewriting or
 significantly changing this code often).

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

More information about the wp-trac mailing list