[wp-trac] [WordPress Trac] #62319: There is a flash when clicking the template name in the editor if a plugin registered template matches a default WP theme template

WordPress Trac noreply at wordpress.org
Fri Mar 7 17:53:52 UTC 2025


#62319: There is a flash when clicking the template name in the editor if a plugin
registered template matches a default WP theme template
------------------------------+---------------------------
 Reporter:  aljullu           |       Owner:  flixos90
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.8
Component:  Editor            |     Version:  6.7
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  ui, template
------------------------------+---------------------------
Changes (by flixos90):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59951" 59951]:
 {{{
 #!CommitTicketReference repository="" revision="59951"
 Editor: Fix unexpected behavior due to conflicting custom block template.

 This changeset fixes both a visual and functional bug related to template
 selection in the editor that occurred when having a custom block template
 registered that was using the same slug as another block template already
 registered by the theme, including the default block templates.

 Props aljullu, antonvlasenko, apermo, audrasjb, azaozz, ntsekouras.
 Fixes #62319.
 }}}

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


More information about the wp-trac mailing list