[wp-trac] [WordPress Trac] #39145: custom-background URL escaped
WordPress Trac
noreply at wordpress.org
Wed Dec 7 14:45:18 UTC 2016
#39145: custom-background URL escaped
--------------------------+-----------------------------
Reporter: futtta | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7.1
Component: Customize | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
--------------------------+-----------------------------
Changes (by tyxla):
* keywords: needs-patch => has-patch
Comment:
The issue appears to be caused by the usage of `wp_json_encode` on the
image URL when building the custom background image CSS. The attached
patch addresses this by using `esc_url` instead.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39145#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list