[wp-trac] [WordPress Trac] #14220: can't specify theme option values containing 'quotes'

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 6 22:47:42 UTC 2010


#14220: can't specify theme option values containing 'quotes'
--------------------------+-------------------------------------------------
 Reporter:  slambert      |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:                 
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------
 I have a theme with options so users can select fonts. I started to add
 font stacks that had 2+ word names, like "Times New Roman" and these need
 to be wrapped in quotes. When selected, they work - the fonts change. The
 problem is, they don't show as selected in the pull down list when the
 page refreshes. Without quotes, they do.

 info: the comparison function for seeing if a value is currently selected
 is probably not evaluating quotes correctly

 + this works for both single & double quotes contained inside strings
 written w/ either single or double quotes

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


More information about the wp-trac mailing list