[wp-trac] [WordPress Trac] #47645: get_theme_mod sprint_f issue

WordPress Trac noreply at wordpress.org
Wed Jul 3 16:29:49 UTC 2019


#47645: get_theme_mod sprint_f issue
--------------------------+-----------------------------
 Reporter:  katielgc      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  5.2.2
 Severity:  major         |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 Hi there,

 I have found an issue when using get_theme_mod. If we use a text field in
 the customizer with a percent % sign within it. it will go through the
 get_theme_mod function and use the sprintf function within it.

 For example, I have 25% off services in the sale field. This is outputted
 as 25ff services. This is line 922 of wp-includes/theme.php

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47645>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list