[wp-trac] [WordPress Trac] #34060: WP_Query zero offset parameter doesn't override paged

WordPress Trac noreply at wordpress.org
Wed Oct 28 15:39:59 UTC 2015


#34060: WP_Query zero offset parameter doesn't override paged
--------------------------+---------------------------
 Reporter:  mazurstas     |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.4
Component:  Query         |     Version:  4.3.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):

 * keywords:   => has-patch


Comment:

 @westonruter As I suspected, it looks like we can just pull the `offset=0`
 default out of `get_posts()`. The tests in [34060.diff] should demonstrate
 that the behavior matches pre-[34697] behavior. Can I ask you to verify?

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


More information about the wp-trac mailing list