[wp-trac] [WordPress Trac] #40771: Unable to add YouTube video to Video Widget

WordPress Trac noreply at wordpress.org
Tue May 16 21:24:35 UTC 2017


#40771: Unable to add YouTube video to Video Widget
--------------------------+--------------------------
 Reporter:  taijacg       |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.8
Component:  Widgets       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------

Comment (by timmydcrawford):

 > This implementation is not ideal because the non-trimmed value still
 appears in the field and momentarily populates the model. It would be
 better if we could just strip whitespace on input, preventing whitespace
 from the field altogether.

 On that note would this be better fixed in the media modal itself?  Having
 spaces in the insert from URL field in the editor media flow is broken
 too.

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


More information about the wp-trac mailing list