[wp-trac] [WordPress Trac] #40070: Cannot remove theme with Javascript if folder name contains periods

WordPress Trac noreply at wordpress.org
Fri May 19 11:19:19 UTC 2017


#40070: Cannot remove theme with Javascript if folder name contains periods
--------------------------+-----------------------------
 Reporter:  svanlooy      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Themes        |     Version:  4.7.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  javascript
--------------------------+-----------------------------
Changes (by obenland):

 * keywords:  has-patch =>
 * milestone:  4.8 => Future Release


Comment:

 Unfortunately this is not limited to `.`, the installer doesn't really
 strip out any non-word characters.

 @dd32 How would you suggest we sanitize these slugs?
 `sanitize_textfield()`?

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


More information about the wp-trac mailing list