[wp-trac] [WordPress Trac] #61632: Allow ordering of posts by `status`

WordPress Trac noreply at wordpress.org
Thu Jul 11 11:44:27 UTC 2024


#61632: Allow ordering of posts by `status`
-------------------------+-----------------------------
 Reporter:  ntsekouras   |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  REST API     |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Currently it's not possible to order posts by `status` in the REST API:
 https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-includes
 /rest-api/endpoints/class-wp-rest-posts-controller.php#L2899.

 This is useful though with the new views (Data Views and pages list) in
 site editor and the advancing of redesigning of WP admin, which will
 utilize way more the REST API.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61632>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list