[wp-trac] [WordPress Trac] #43817: REST API: Include 'formats' attribute on Post Type resource

WordPress Trac noreply at wordpress.org
Fri Apr 20 05:05:46 UTC 2018


#43817: REST API: Include 'formats' attribute on Post Type resource
------------------------------------------+-----------------------
 Reporter:  pento                         |       Owner:  (none)
     Type:  enhancement                   |      Status:  new
 Priority:  normal                        |   Milestone:  5.0
Component:  Post Formats                  |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:  rest-api
------------------------------------------+-----------------------
Description changed by pento:

Old description:

> We need to know which post formats we can display when editing a post in
> Gutenberg.
>
> While supported post formats are technically a theme setting, not a post
> type setting, post type is the closest matching resource that we make
> available.

New description:

 We need to know which post formats we can display when editing a post in
 Gutenberg.

 While supported post formats are technically a theme setting, not a post
 type setting, post type is the closest matching resource that we make
 available.

 See: https://github.com/WordPress/gutenberg/pull/6301

--

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


More information about the wp-trac mailing list