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

WordPress Trac noreply at wordpress.org
Mon Dec 12 01:46:00 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 fixed-major commit  |     Focuses:  administration
------------------------------------------+-----------------------------
Changes (by dd32):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39568"]:
 {{{
 #!CommitTicketReference repository="" revision="39568"
 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.
 Merges [39546] to the 4.7 branch.
 Fixes #39145.
 }}}

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


More information about the wp-trac mailing list