[wp-trac] [WordPress Trac] #54596: Block theme with period in name causes blank editor

WordPress Trac noreply at wordpress.org
Tue Dec 14 17:45:57 UTC 2021


#54596: Block theme with period in name causes blank editor
-------------------------------------------------+-------------------------
 Reporter:  mkaz                                 |       Owner:
                                                 |  hellofromTonya
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  5.9
Component:  REST API                             |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-testing-info has-      |     Focuses:
  unit-tests commit                              |
-------------------------------------------------+-------------------------

Comment (by hellofromTonya):

 Replying to [comment:24 TimothyBlynJacobs]:
 >I do worry about @peterwilsoncc's concerns that different themes will end
 up mapping to the same slug.

 I was worried about that too. Tested it with 2 the TT2 theme with
 different theme directory names and changed the `wp-
 content/themes/twentytwentytwo-0.4.0/theme.json` to background color to
 red. See attachments [attachment:"test-site-editor-same-theme-
 resolves.png"] and [attachment:"test-same-theme-slug-resolves.png"]. Both
 themes resolve in the Site Editor, front-end, and in the Appearance >
 Themes.

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


More information about the wp-trac mailing list