[wp-trac] [WordPress Trac] #39965: REST API: not possible to request collection of posts across post types

WordPress Trac noreply at wordpress.org
Wed Jul 26 20:14:57 UTC 2017


#39965: REST API: not possible to request collection of posts across post types
-------------------------+-----------------------
 Reporter:  iseulde      |       Owner:  jnylen0
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  4.9
Component:  REST API     |     Version:  4.7
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+-----------------------

Comment (by danielbachhuber):

 For the purposes of the link dialog, I think you could make two separate
 requests (Posts and Pages), combine the results, and call that good enough
 for now. Given how much backwards compatibility Gutenberg is creating, I
 don't see it as entirely necessary to spend much time solving the problem
 for this particular use case.

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


More information about the wp-trac mailing list