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

WordPress Trac noreply at wordpress.org
Thu Jan 5 16:48:11 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 prosti):

 >Custom loops are already possible using new WP_Query(), I don't see the
 need to change query_posts() for that.

 I haven't proposed to change the `query_posts`.
 The possible enhancement is means more freedom for `query_posts`, and less
 problem with breaking pagination.

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


More information about the wp-trac mailing list