[wp-trac] [WordPress Trac] #20090: Can't edit themes with '&' in the name

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 21 18:30:21 UTC 2012


#20090: Can't edit themes with '&' in the name
----------------------------+-----------------------------
 Reporter:  trepmal         |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:  has-patch
----------------------------+-----------------------------
 If a theme has an ampersand in the name, it cannot be edited through the
 !WordPress theme editor. I tested with a simple child theme:

 {{{
 /*
 Theme Name: Amper & Sand
 Template: twentyeleven
 */
 }}}
 (doesn't matter if the ampersand is encoded or not)

 If that theme is chosen from the 'Select theme to edit' select box, you
 are presented with '''The requested theme does not exist.''' (via
 {{{wp_die()}}})

 Or worse, if it is the active theme you can't even access the Theme
 Editor, as you are immediately presented with the same message.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20090>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list