[wp-trac] [WordPress Trac] #39483: Use $wp_the_query for the main loop and pagination

WordPress Trac noreply at wordpress.org
Thu Jan 5 14:19:50 UTC 2017

#39483: Use $wp_the_query for the main loop and pagination
 Reporter:  prosti       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Query        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:

Comment (by SergeyBiryukov):

 > This way we may use `query_posts` even without the need to run

 The very purpose of `query_posts()` is to alter the main loop. If it no
 longer affects the loop as per your suggestion, what would it be used for?

Ticket URL: <https://core.trac.wordpress.org/ticket/39483#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list