[wp-trac] [WordPress Trac] #34290: Not possible to have a percent symbol contained in the default value of a theme_mod

WordPress Trac noreply at wordpress.org
Fri Jan 29 09:03:23 UTC 2016


#34290: Not possible to have a percent symbol contained in the default value of a
theme_mod
--------------------------+-----------------------------------------
 Reporter:  kuus          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Customize     |     Version:  4.4
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  javascript, administration
--------------------------+-----------------------------------------

Comment (by davetgreen):

 @westonruter @kuus It might be worth perform a regex on the string and
 only carry out the string replacement if the % character comes immediately
 after a number?

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


More information about the wp-trac mailing list