[wp-trac] [WordPress Trac] #41052: Need validation update in video widget

WordPress Trac noreply at wordpress.org
Thu Oct 19 00:06:29 UTC 2017


#41052: Need validation update in video widget
-------------------------------------+-----------------------------
 Reporter:  ravipatel                |       Owner:  westonruter
     Type:  defect (bug)             |      Status:  closed
 Priority:  high                     |   Milestone:  4.9
Component:  Widgets                  |     Version:  4.8
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:  ui, javascript
-------------------------------------+-----------------------------
Changes (by westonruter):

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


Comment:

 In [changeset:"41933"]:
 {{{
 #!CommitTicketReference repository="" revision="41933"
 Widgets: Harden logic for checking for valid media URLs.

 * Update deprecated `isHostedVideo` method to always return `true` since
 all oEmbeds are now supported.
 * Disable `scanImage` for non-image media widgets.
 * Ensure embed URL field element is matched from current media frame
 instance due to bug where media frames are not destroyed upon closing.
 * Update error message for invalid video URLs to ask user to check the URL
 for validity.

 Props gk.loveweb, octalmage, westonruter.
 See #42039, #40935.
 Fixes #41052.
 }}}

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


More information about the wp-trac mailing list