[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
Fri May 29 10:15:31 UTC 2020


#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:  5.4.1
 Severity:  critical      |  Resolution:
 Keywords:                |     Focuses:  rest-api
--------------------------+------------------------------

Comment (by photosjob):

 Experiencing the same issue on a staging site with a CPT and 180+
 articles.
 Applied the hacky patch above for now (as more content needs to be added).
 Would be nice if a permanent solution could be applied soon...

 Thanks in advance!!

 Kind regards,
 Job

 Replying to [comment:12 hobzhobz]:
 > Replying to [comment:11 jdorner]:
 > > I'm experiencing problems as well. Is there a fix for this issue?
 >
 >
 > There's a hacky patch in reply no2.
 >  You need to apply it after every WordPress upgrade.

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


More information about the wp-trac mailing list