[wp-trac] [WordPress Trac] #39657: Posts endpoint doesn't support orderby=menu_order

WordPress Trac noreply at wordpress.org
Mon Jan 23 17:46:23 UTC 2017


#39657: Posts endpoint doesn't support orderby=menu_order
--------------------------+------------------------------
 Reporter:  jordan314     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  rest-api
--------------------------+------------------------------

Comment (by adamsilverstein):

 @jordan314 `menu_order` is not currently supported out of the box, you may
 want to comment on #38693 where we are discussing expanding what `orderby`
 options are supported by default.

 In the meantime,   can enable custom `orderby` parameters using the
 `rest_post_collection_params` filter, see
 https://core.trac.wordpress.org/ticket/38693#comment:5

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


More information about the wp-trac mailing list