[wp-trac] [WordPress Trac] #46294: wp rest api fails to paginate page requests correctly when ordering on menu_order
WordPress Trac
noreply at wordpress.org
Tue Jun 25 18:17:38 UTC 2019
#46294: wp rest api fails to paginate page requests correctly when ordering on
menu_order
--------------------------+------------------------------
Reporter: hobzhobz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version:
Severity: normal | Resolution:
Keywords: | Focuses: rest-api
--------------------------+------------------------------
Changes (by TimothyBlynJacobs):
* focuses: => rest-api
* component: REST API => Query
Comment:
This seems like a bug in the query component. I’d think paginating over a
`new WP_Query([ 'orderby' => 'menu_order' ])` should work as expected.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46294#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list