WordPress/wp-includes/js
Gary Pendergast 83c3e3e00e Embeds: Add oEmbed provider support.
For the past 6 years, WordPress has operated as an oEmbed consumer, allowing users to easily embed content from other sites. By adding oEmbed provider support, this allows any oEmbed consumer to embed posts from WordPress sites.

In addition to creating an oEmbed provider, WordPress' oEmbed consumer code has been enhanced to work with any site that provides oEmbed data (as long as it matches some strict security rules), and provides a preview from within the post editor.

For security, embeds appear within a sandboxed iframe - the iframe content is a template that can be styled or replaced entirely by the theme on the provider site.

Props swissspidy, pento, melchoyce, netweb, pfefferle, johnbillion, extendwings, davidbinda, danielbachhuber, SergeyBiryukov, afercia

Fixes #32522.


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


git-svn-id: http://core.svn.wordpress.org/trunk@34868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-10-07 10:36:25 +00:00
..
crop
imgareaselect Site Icon: Add crop preview to the media modal. 2015-07-20 15:57:25 +00:00
jcrop
jquery Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
mediaelement MediaElement, update `wp-mediaelement.js`: 2015-09-20 03:17:24 +00:00
plupload Revert [34009], broke uploads. 2015-09-11 18:04:26 +00:00
swfupload
thickbox Grunt RTL CSS: `swap-dashicons-left-right-arrows` in `rtlcss:properties` expects double-quoted `content` strings in CSS. It doesn't swap single-quoted values. 2015-09-10 20:22:25 +00:00
tinymce Embeds: Add oEmbed provider support. 2015-10-07 10:36:25 +00:00
admin-bar.js Toolbar: Restore scroll-to-top functionality. 2015-07-20 20:02:24 +00:00
admin-bar.min.js Toolbar: Restore scroll-to-top functionality. 2015-07-20 20:02:24 +00:00
autosave.js Set the `secure` flag on the `wp-saving-post` cookie when using HTTPS. 2015-09-10 22:42:23 +00:00
autosave.min.js Set the `secure` flag on the `wp-saving-post` cookie when using HTTPS. 2015-09-10 22:42:23 +00:00
backbone.min.js Don't override minified libraries included in core 2015-04-07 04:38:25 +00:00
colorpicker.js
colorpicker.min.js Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
comment-reply.js
comment-reply.min.js
customize-base.js Add Customizer docs. 2015-09-05 19:53:24 +00:00
customize-base.min.js Customizer: [31885] actually hasn't fixed the `SecurityError`s. This one does. 2015-03-25 23:36:27 +00:00
customize-loader.js Add Customizer docs. 2015-09-05 19:53:24 +00:00
customize-loader.min.js Customizer: Avoid `SecurityError`s when the Customizer is embedded in an origin other than wp-admin. 2015-03-25 17:26:26 +00:00
customize-models.js JSHint: Use 'global' rather than 'globals' for inline configuration. 2015-07-19 17:09:26 +00:00
customize-models.min.js
customize-preview-nav-menus.js Twenty Fifteen: Only re-initialize the main navigation in the Customizer when it is specifically updated. 2015-07-29 18:13:24 +00:00
customize-preview-nav-menus.min.js Twenty Fifteen: Only re-initialize the main navigation in the Customizer when it is specifically updated. 2015-07-29 18:13:24 +00:00
customize-preview-widgets.js
customize-preview-widgets.min.js
customize-preview.js Add Customizer docs. 2015-09-05 19:53:24 +00:00
customize-preview.min.js
customize-views.js Site Icon: Add crop preview to the media modal. 2015-07-20 15:57:25 +00:00
customize-views.min.js Site Icon: Add crop preview to the media modal. 2015-07-20 15:57:25 +00:00
heartbeat.js Fix updating of nonces on the Edit Post screen after the log in expires and the user logs in again. 2015-07-28 22:07:25 +00:00
heartbeat.min.js Fix updating of nonces on the Edit Post screen after the log in expires and the user logs in again. 2015-07-28 22:07:25 +00:00
hoverIntent.js
hoverIntent.min.js
json2.js External Libraries: update `json2.js` to the `2015-05-03` version. Crockford does not tag releases: https://github.com/douglascrockford/JSON-js/commits/master 2015-10-06 14:02:25 +00:00
json2.min.js External Libraries: update `json2.js` to the `2015-05-03` version. Crockford does not tag releases: https://github.com/douglascrockford/JSON-js/commits/master 2015-10-06 14:02:25 +00:00
masonry.min.js Don't override minified libraries included in core 2015-04-07 04:38:25 +00:00
mce-view.js TinyMCE: views: correct cursor position after paste 2015-07-29 13:49:24 +00:00
mce-view.min.js TinyMCE: views: correct cursor position after paste 2015-07-29 13:49:24 +00:00
media-audiovideo.js JSHint: don't redeclare globals listed in .jshintrc 2015-07-20 23:39:24 +00:00
media-audiovideo.min.js Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
media-editor.js Media JS: ensure that `wp.media.frame` (a static reference to the "current" `Frame`) is reset when a cached frame is opened. 2015-09-17 00:10:26 +00:00
media-editor.min.js Media JS: ensure that `wp.media.frame` (a static reference to the "current" `Frame`) is reset when a cached frame is opened. 2015-09-17 00:10:26 +00:00
media-grid.js Revert [32466], I will pick this up in 4.4. 2015-07-21 15:10:27 +00:00
media-grid.min.js Revert [32466], I will pick this up in 4.4. 2015-07-21 15:10:27 +00:00
media-models.js JSHint: don't redeclare globals listed in .jshintrc 2015-07-20 23:39:24 +00:00
media-models.min.js In `wp.media.model.Attachments.filters.type()`, return `true` earlier if `type` isn't set. 2015-07-06 15:34:26 +00:00
media-views.js Media: 2015-08-25 12:13:23 +00:00
media-views.min.js Media: 2015-08-25 12:13:23 +00:00
quicktags.js Update the TinyMCE initialization: 2015-06-21 22:01:28 +00:00
quicktags.min.js Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
shortcode.js
shortcode.min.js
swfobject.js
tw-sack.js
tw-sack.min.js Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
twemoji.js Update Twemoji to 1.4.1 including up to 3c0c13d3a5 (exclude SVG elements). Remove our hacks and adapt wp-emoji.js to use the new image attributes callback. 2015-06-26 22:01:25 +00:00
twemoji.min.js Editor: word count: exclude more characters 2015-07-16 09:45:26 +00:00
underscore.min.js Don't override minified libraries included in core 2015-04-07 04:38:25 +00:00
utils.js After [33840], JS regex needs the `g` modifier. 2015-09-08 16:44:26 +00:00
utils.min.js After [33840], JS regex needs the `g` modifier. 2015-09-08 16:44:26 +00:00
wp-a11y.js Minor documentation fixes for the `wp.a11y.speak()` and `addContainer()` DocBlocks. 2015-07-13 17:58:24 +00:00
wp-a11y.min.js Add `assertive` capability to wp.a11y.speak(). 2015-06-30 04:35:24 +00:00
wp-ajax-response.js Passwords: Trigger a `wp-check-valid-field` event when the password field is filled with a password by `generatePassword()`. 2015-09-14 10:39:27 +00:00
wp-ajax-response.min.js Passwords: Trigger a `wp-check-valid-field` event when the password field is filled with a password by `generatePassword()`. 2015-09-14 10:39:27 +00:00
wp-auth-check.js Disable body scrolling when session expired log in modal is open. 2015-03-31 22:55:26 +00:00
wp-auth-check.min.js Disable body scrolling when session expired log in modal is open. 2015-03-31 22:55:26 +00:00
wp-backbone.js
wp-backbone.min.js
wp-emoji-loader.js Emoji: 2015-05-03 18:45:29 +00:00
wp-emoji-loader.min.js Emoji: 2015-05-03 18:45:29 +00:00
wp-emoji-release.min.js Editor: word count: exclude more characters 2015-07-16 09:45:26 +00:00
wp-emoji.js Add a true return description to the `test()` method added to wpEmoji in 4.3. 2015-07-13 17:59:24 +00:00
wp-emoji.min.js Update Twemoji to 1.4.1 including up to 3c0c13d3a5 (exclude SVG elements). Remove our hacks and adapt wp-emoji.js to use the new image attributes callback. 2015-06-26 22:01:25 +00:00
wp-list-revisions.js
wp-list-revisions.min.js
wp-lists.js
wp-lists.min.js Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
wp-oembed-embed.js Embeds: Add oEmbed provider support. 2015-10-07 10:36:25 +00:00
wp-oembed-embed.min.js Embeds: Add oEmbed provider support. 2015-10-07 10:36:25 +00:00
wp-oembed.js Embeds: Add oEmbed provider support. 2015-10-07 10:36:25 +00:00
wp-oembed.min.js Embeds: Add oEmbed provider support. 2015-10-07 10:36:25 +00:00
wp-pointer.js
wp-pointer.min.js
wp-util.js Add an `abort` class method to the Promise instance returned by `wp.ajax.send()`. 2015-06-13 14:30:26 +00:00
wp-util.min.js Add an `abort` class method to the Promise instance returned by `wp.ajax.send()`. 2015-06-13 14:30:26 +00:00
wpdialog.js
wpdialog.min.js
wplink.js Only use a bare URL when the link text field is used. 2015-08-06 20:58:25 +00:00
wplink.min.js Only use a bare URL when the link text field is used. 2015-08-06 20:58:25 +00:00
zxcvbn-async.js
zxcvbn-async.min.js
zxcvbn.min.js