[wp-trac] [WordPress Trac] #39145: custom-background URL escaped

WordPress Trac noreply at wordpress.org
Wed Dec 7 13:45:54 UTC 2016


#39145: custom-background URL escaped
--------------------------------+-----------------------------
 Reporter:  futtta              |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Customize           |    Version:  4.7
 Severity:  normal              |   Keywords:
  Focuses:  ui, administration  |
--------------------------------+-----------------------------
 In 4.7 the URL of a custom background-image (e.g. in TwentySixteen) added
 through the customizer is escaped (addslashed):


 {{{
 body.custom-background { background-image:
 url("http:\/\/localhost\/wordpress\/wp-content\/uploads\/layerslider
 \/Full-width-demo-slider\/left.png")
 }}}

 This at least [breaks Autoptimize of that
 CSS]https://wordpress.org/support/topic/incompatibility-with-wp-4-7
 -aggregate-inline-css/#post-8524535, but is likely to cause other problems
 as well.

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


More information about the wp-trac mailing list