[wp-trac] [WordPress Trac] #62755: Allow template duplication + concept of active templates
WordPress Trac
noreply at wordpress.org
Tue Oct 28 00:59:55 UTC 2025
#62755: Allow template duplication + concept of active templates
---------------------------------------+-----------------------
Reporter: ellatrix | Owner: ellatrix
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.9
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: gutenberg-merge has-patch | Focuses:
---------------------------------------+-----------------------
Comment (by westonruter):
I just discovered a problem with the `wp_registered_template` post type.
It is too long. The maximum length allowed in the database schema is 20
characters. Now, maybe this post type isn't actually inserted into the
database, but its presence in `$wp_post_types` can cause very confusing
problems if it is attempted. For example, a plugin which loops over all
registered post types to create posts after . See my
[https://github.com/WordPress/wordpress-
develop/pull/8063/files#r2467548559 PR comment].
I thin a shorter name should be used, like `wp_registered_tmpl`,
`wp_register_template`, or `registered_template`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62755#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list