[wp-trac] [WordPress Trac] #25680: is_main_query() _doing_it_wrong() notice suggests using WP_Query statically

WordPress Trac noreply at wordpress.org
Sat Nov 9 23:38:19 UTC 2013


#25680: is_main_query() _doing_it_wrong() notice suggests using WP_Query statically
--------------------------+------------------
 Reporter:  dd32          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.8
Component:  Text Changes  |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------

Comment (by nacin):

 The problem is that $query may not be the name of the function argument.
 That's all up to them. I don't know which would be more usable.

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


More information about the wp-trac mailing list