[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
Tue Oct 13 17:45:54 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: Awaiting Review
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses: javascript, administration
--------------------------+-----------------------------------------
Comment (by SergeyBiryukov):
Hi @kuus, welcome to Trac!
Thanks for the report. Have you tried
[http://stackoverflow.com/questions/3666734/php-sprintf-escaping escaping
the value] with another `%`, e.g. `'default' => '10%%'`?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34290#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list