[wp-trac] [WordPress Trac] #15048: long theme name length causes menu bug

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 6 16:01:21 UTC 2010


#15048: long theme name length causes menu bug
--------------------------+-------------------------------------------------
 Reporter:  jaredatch     |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Menus         |     Version:  3.0.1          
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------

Comment(by nacin):

 It would need to be longer than about 60 characters.

 Theme mods (which include headers, backgrounds, and theme locations) are
 stored by theme name rather than by slug. I really want to change that and
 all of the other times we pass theme name around in the themes functions.

 What we could do is start storing it as the slug, then check the name
 second (and shift it to the slug after). That should handle any compat
 issues with people using get_theme_mod.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15048#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list