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

WordPress Trac noreply at wordpress.org
Thu Dec 9 16:25: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                                     |
-------------------------------------------------+-------------------------

Comment (by mkaz):

 @peterwilsoncc good catch. We can switch the regex to \w\W to grab
 everything, but not sure if that is a good idea or not, I fear spaces and
 other characters might introduce additional issues.

 Your point about the slug is curious if themes share the same slug the
 styles and templates can conflict with one another.

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


More information about the wp-trac mailing list