[wp-trac] [WordPress Trac] #38698: REST API: Enable page templates for all post types
WordPress Trac
noreply at wordpress.org
Tue Nov 8 21:44:09 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):
In [attachment:38698.2.diff]:
* Fix documentation
* Change conditional to only expose template option when there's at least
1 template (what about back compat?)
* Adds a unit test for when there's no template.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38698#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list