[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 22:14:17 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 micahwave):

 Replaced WP_Query:: with $query-> since it seems to follow what's written
 here: http://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts

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


More information about the wp-trac mailing list