[wp-trac] [WordPress Trac] #23329: Issue _doing_it_wrong() for is_main_query() (was: Deprecate is_main_query())

WordPress Trac noreply at wordpress.org
Tue Sep 24 17:09:15 UTC 2013


#23329: Issue _doing_it_wrong() for is_main_query()
-----------------------------------+------------------
 Reporter:  ethitter               |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  3.7
Component:  Query                  |     Version:  3.3
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch needs-codex  |
-----------------------------------+------------------
Changes (by nacin):

 * keywords:  has-patch => has-patch needs-codex


Comment:

 This Codex page needs some work to actually explain what is going on. It
 documents only the function, yet is linked from the WP_Query page, and the
 only example is using the method.

 I'm committing a _doing_it_wrong() message but this Codex page needs a lot
 of love in order to keep this in 3.7. Otherwise we're just telling users
 what they're doing wrong without giving them any information to help them
 correct it, which would be very lame.

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


More information about the wp-trac mailing list