[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
Thu Oct 15 14:40:52 UTC 2015


#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:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  javascript, administration
--------------------------+-----------------------------------------

Comment (by kuus):

 To me the best would be to fix this issue in `theme_mods` API directly
 since that is where the problem lies. So, first of all, it might be a
 stupid question, but I don't understand why that `sprintf` is there in the
 `get_theme_mod` function. Is it really needed?

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


More information about the wp-trac mailing list