[wp-trac] [WordPress Trac] #62755: Allow template duplication + concept of active templates

WordPress Trac noreply at wordpress.org
Thu Oct 23 07:03:56 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  |     Focuses:
-----------------------------+-----------------------

Comment (by ellatrix):

 @dd32 Yeah, it looks like we need to make sure that the queried object is
 a post in addition to also checking that all templates added to that array
 have a slug that is actually requested. How urgent is this to fix? I'll
 probably make a quick patch in a bit but I'm wondering how I can refactor
 the entire thing as well to. Perhaps there's a way to avoid getting the
 post `template` altogether.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62755#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list