[wp-trac] [WordPress Trac] #19631: Consider a doing_it_wrong call for query_posts()

WordPress Trac noreply at wordpress.org
Fri Oct 7 19:40:53 UTC 2016


#19631: Consider a doing_it_wrong call for query_posts()
----------------------------------+----------------------
 Reporter:  johnbillion           |       Owner:
     Type:  enhancement           |      Status:  closed
 Priority:  normal                |   Milestone:
Component:  Query                 |     Version:
 Severity:  normal                |  Resolution:  wontfix
 Keywords:  has-patch needs-docs  |     Focuses:
----------------------------------+----------------------
Changes (by johnbillion):

 * status:  reopened => closed
 * resolution:   => wontfix
 * milestone:  Future Release =>


Comment:

 Closing due to lack of movement. As much as I'd like to trigger a
 `doing_it_wrong` in `query_posts()`, Scott's point stands that it'll add
 noise to logs.

 Sergey's patch can be considered in a new ticket if there's interest, but
 it doesn't do anything that can't already be achieved in `pre_get_posts`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/19631#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list