[wp-trac] [WordPress Trac] #18375: Post type templates
WordPress Trac
noreply at wordpress.org
Thu Aug 25 13:43:02 UTC 2016
#18375: Post type templates
-------------------------------------------------+-------------------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future
Component: Posts, Post Types | Release
Severity: normal | Version:
Keywords: needs-unit-tests has-patch dev- | Resolution:
feedback | Focuses: template
-------------------------------------------------+-------------------------
Changes (by Mte90):
* keywords: needs-refresh needs-unit-tests => needs-unit-tests has-patch
dev-feedback
Comment:
That patch contains respect the old one:
* The check to include the Attributs metabox in admin it's moved inside
the metabox to show the Template in all the post types and Order and
Parent are showed only on Page post type
* The `page_templates` key for cache changed on `post_templates`
* Added `theme_page_templates` filter
Respect to the old:
* Updated the code in few part of the code itself
* Use the new WP internal for get the header information about the page
name
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18375#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list