[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
Wed Dec 7 01:45:36 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)   |      Status:  new
 Priority:  normal         |   Milestone:  4.7.1
Component:  Customize      |     Version:
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+--------------------
Changes (by celloexpressions):

 * milestone:  Awaiting Review => 4.7.1


Comment:

 We should be able to add trim to the sanitization or validation callbacks.
 I think it's using `esc_url` now, which I'm surprised doesn't already do
 that. Moving to 4.7.1 for investigation since it's new in 4.7.

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


More information about the wp-trac mailing list