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

WordPress Trac noreply at wordpress.org
Fri Dec 9 01:42:25 UTC 2016


#39145: custom-background URL escaped
--------------------------+-----------------------------
 Reporter:  futtta        |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.7.1
Component:  Customize     |     Version:  4.7
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+-----------------------------
Changes (by westonruter):

 * owner:   => westonruter
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39546"]:
 {{{
 #!CommitTicketReference repository="" revision="39546"
 Customize: Use `esc_url_raw()` instead of `wp_json_encode()` to eliminate
 extraneous slashes when outputting background image URL in CSS `url()`.

 Props tyxla, westonruter.
 See #22058.
 Fixes #39145.
 }}}

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


More information about the wp-trac mailing list