[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
Mon Dec 12 02:05:25 UTC 2016


#39125: Customize: Video Header YouTube field has issues when whitespace is
inserted at beginning or end of URL
-------------------------------------------------+-------------------------
 Reporter:  davidakennedy                        |       Owner:
     Type:  defect (bug)                         |  westonruter
 Priority:  normal                               |      Status:  closed
Component:  Customize                            |   Milestone:  4.7.1
 Severity:  normal                               |     Version:  4.7
 Keywords:  has-patch has-unit-tests commit      |  Resolution:  fixed
  fixed-major                                    |     Focuses:
-------------------------------------------------+-------------------------
Changes (by dd32):

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


Comment:

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

 Props tyxla.
 See #38172.
 Merges [39560] to the 4.7 branch.
 Fixes #39125.
 }}}

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


More information about the wp-trac mailing list