[wp-trac] [WordPress Trac] #38698: REST API: Enable page templates for all post types

WordPress Trac noreply at wordpress.org
Tue Nov 8 22:27:23 UTC 2016


#38698: REST API: Enable page templates for all post types
--------------------------------------+-------------------------
 Reporter:  swissspidy                |       Owner:  swissspidy
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  4.7
Component:  Posts, Post Types         |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+-------------------------

Comment (by swissspidy):

 @danielbachhuber Thanks for the quick feedback!

 As far as I can see, `$fixed_schemas` is used for handling post type
 attributes, but page templates are not handled via post type attributes.

 I removed the conditional check in the latest patch and will leave the
 rest for y'all to decide.

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


More information about the wp-trac mailing list