[wp-trac] [WordPress Trac] #39851: WP_REST_Posts_Controller::get_items() has too many concerns

WordPress Trac noreply at wordpress.org
Tue Mar 7 19:49:37 UTC 2017


#39851: WP_REST_Posts_Controller::get_items() has too many concerns
----------------------------+------------------------------
 Reporter:  Shelob9         |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  REST API        |     Version:  4.7
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------------

Comment (by Shelob9):

 I'm thinking, as an alternative to my ticket, what about a
 WP_REST_Post_Query class that took an array of WP_Query ARGS and generated
 a proper response?

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


More information about the wp-trac mailing list