[wp-trac] [WordPress Trac] #39125: Customize: Video Header YouTube field has issues when whitespace is inserted at beginning or end of URL

WordPress Trac noreply at wordpress.org
Sat Dec 10 06:59:28 UTC 2016


#39125: Customize: Video Header YouTube field has issues when whitespace is
inserted at beginning or end of URL
---------------------------------------------+--------------------------
 Reporter:  davidakennedy                    |       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 has-unit-tests commit  |     Focuses:
---------------------------------------------+--------------------------
Changes (by westonruter):

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


Comment:

 In [changeset:"39560"]:
 {{{
 #!CommitTicketReference repository="" revision="39560"
 Customize: Trim whitespace for URLs supplied for `external_header_video`
 to prevent `esc_url_raw()` from making them invalid.

 Props tyxla.
 See #38172.
 Fixes #39125.
 }}}

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


More information about the wp-trac mailing list