[wp-trac] [WordPress Trac] #55437: Bugfix: Display correct theme in site editor

WordPress Trac noreply at wordpress.org
Tue Sep 13 00:56:36 UTC 2022


#55437: Bugfix: Display correct theme in site editor
-------------------------------------------------+-------------------------
 Reporter:  ptahdunbar                           |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.1
Component:  Themes                               |     Version:  5.9
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing 2nd-opinion  |     Focuses:  ui,
  needs-unit-tests                               |  administration
-------------------------------------------------+-------------------------

Comment (by poena):

 == Testing instructions
 -Activate a child theme of a block theme. (example
 https://wordpress.org/themes/geologist/)
 -In the WordPress admin area, go to Appearance > Editor. In the Site
 Editor, open the navigation sidebar and select Templates.

 This will display a list of user crated templates and templates in the
 parent theme and child theme.


 == Testing results
 With the patch applied:
 Parent theme templates are listed as added by the parent theme,
 Child theme templates are listed as added by the child theme.

 I noticed that the slugs are displayed first and that there is a delay
 before the text is changed to the theme name. This delay is unexpected,
 especially if the slug and name is not an exact match. for example, the
 slug may be "twentytwentythree" but the name is Twenty Twenty-Three.
 I am not able to determine if the delay is related to the patch.

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


More information about the wp-trac mailing list