[wp-trac] [WordPress Trac] #64141: Template activation: fix unique slug filtering

WordPress Trac noreply at wordpress.org
Wed Oct 22 17:29:33 UTC 2025


#64141: Template activation: fix unique slug filtering
--------------------------+---------------------
 Reporter:  ellatrix      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.9
Component:  Editor        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------

Comment (by ax3yui8stk):

 thanks for sharing. The fix makes sense — ensuring the correct slug return
 for `wp_template` should resolve the activation issue. I’ll test it by
 creating duplicate templates to confirm the front-end behavior is now
 consistent and that the second template retains the correct label instead
 of showing as “Custom.” If it works as expected, we can mark this flow as
 stable for deployment.

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


More information about the wp-trac mailing list