[wp-trac] [WordPress Trac] #38544: Header Visuals > Header Video Vimeo url don't work

WordPress Trac noreply at wordpress.org
Sat Nov 5 18:31:08 UTC 2016


#38544: Header Visuals >  Header Video Vimeo url don't work
------------------------------+-----------------------------
 Reporter:  llemurya          |       Owner:  joemcgill
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.7
Component:  Customize         |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  ui, javascript
------------------------------+-----------------------------
Changes (by joemcgill):

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


Comment:

 In [changeset:"39148"]:
 {{{
 #!CommitTicketReference repository="" revision="39148"
 Customize: Remove Vimeo validation for external videos.

 Following [39128], this removes the validation logic for Vimeo URLs from
 `_validate_external_header_video()` since WP does not support the
 display of videos from Vimeo by default.

 This also includes a change to using `esc_url_raw()` instead of
 `esc_url()`
 on the URL value to avoid unexpected behavior from the inclusion of HTML
 entities.

 Props peterwilsoncc, westonruter.
 Fixes #38544.
 }}}

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


More information about the wp-trac mailing list