[wp-trac] [WordPress Trac] #18375: Post type templates
WordPress Trac
noreply at wordpress.org
Tue Oct 25 09:33:23 UTC 2016
#18375: Post type templates
--------------------------------------+-------------------------
Reporter: johnbillion | Owner: swissspidy
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.7
Component: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: template
--------------------------------------+-------------------------
Comment (by swissspidy):
In [attachment:18375.6.diff]:
* Do not use `get_file_data()` because of some failed tests
* Change `theme_page_templates` to a dynamic
`theme_{$post_type}_templates` hook
* Change `Template Type` to `Template Post Type`
Travis CI build: https://travis-
ci.org/aaronjorbin/develop.wordpress/builds/170398285
Oh, and I'll change the yoda conditions in a next patch.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18375#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list