WordPress/wp-admin/js/widgets
Weston Ruter 887998f7ed 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.

Built from https://develop.svn.wordpress.org/trunk@41933


git-svn-id: http://core.svn.wordpress.org/trunk@41767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-19 00:07:54 +00:00
..
custom-html-widgets.js Accessibility: CodeMirror editing areas minor improvements. 2017-09-24 16:00:46 +00:00
custom-html-widgets.min.js Accessibility: CodeMirror editing areas minor improvements. 2017-09-24 16:00:46 +00:00
media-audio-widget.js Widgets: Further refine WP JS coding style in media widgets code. 2017-05-22 22:05:42 +00:00
media-audio-widget.min.js
media-gallery-widget.js Widgets: Update preview for Gallery widget when one of its attachments is modified in the media modal, outside the customized state. 2017-10-16 06:46:48 +00:00
media-gallery-widget.min.js Widgets: Update preview for Gallery widget when one of its attachments is modified in the media modal, outside the customized state. 2017-10-16 06:46:48 +00:00
media-image-widget.js Widgets: Introduce Gallery widget for displaying image galleries. 2017-09-25 06:28:45 +00:00
media-image-widget.min.js Widgets: Introduce Gallery widget for displaying image galleries. 2017-09-25 06:28:45 +00:00
media-video-widget.js Widgets: Harden logic for checking for valid media URLs. 2017-10-19 00:07:54 +00:00
media-video-widget.min.js Widgets: Harden logic for checking for valid media URLs. 2017-10-19 00:07:54 +00:00
media-widgets.js Widgets: Harden logic for checking for valid media URLs. 2017-10-19 00:07:54 +00:00
media-widgets.min.js Widgets: Harden logic for checking for valid media URLs. 2017-10-19 00:07:54 +00:00
text-widgets.js Docs: Remove "to to" dittography from inline comments. 2017-09-09 13:49:43 +00:00
text-widgets.min.js Widgets: Add dirty state tracking for widgets on admin screen. 2017-09-08 19:11:43 +00:00