[wp-trac] [WordPress Trac] #64133: Template activation: sync migration logic
WordPress Trac
noreply at wordpress.org
Tue Oct 21 19:16:36 UTC 2025
#64133: Template activation: sync migration logic
-----------------------------+--------------------
Reporter: ellatrix | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.9
Component: Upgrade/Install | Version: trunk
Severity: normal | Keywords:
Focuses: |
-----------------------------+--------------------
I forgot to include migration logic in https://github.com/WordPress
/wordpress-develop/pull/8063. Part of the reason is the I hesitated
whether to add it as a permanent action or in `upgrade.php`, and in the
end forgot it.
It's not a critical issue for Beta 1 imo, but it does mean that if someone
edited a theme template, or added a new template to the hierarchy (in the
database) before upgrading to 6.9 Beta 1, these will not appear on the
front-end anymore. When they upgrade again to Beta 2 with the fix, they'll
start appearing again. Alternatively testers could manually activate their
edited template to make it appear correctly on the front-end again.
The fix is to add the migration logic we have in Gutenberg, which queries
existing templates in the database and adds them to the `active_templates`
setting.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64133>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list