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 Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
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 Fix JSHint errors in six files. 2013-11-15 04:42:09 +00:00
comment-reply.min.js Fix JSHint errors in six files. 2013-11-15 04:42:09 +00:00
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 Customizer: Allow to skip cropping header images if image width is smaller than or equal to theme width. 2014-04-25 20:25:19 +00:00
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 Customizer: Introduce WP_Customize_Control::active() method to determine whether the control is relevant to the current context (i.e. to the current URL being previewed). 2014-07-09 23:58:16 +00:00
customize-preview-widgets.min.js Customizer: Introduce WP_Customize_Control::active() method to determine whether the control is relevant to the current context (i.e. to the current URL being previewed). 2014-07-09 23:58:16 +00:00
customize-preview.js Add Customizer docs. 2015-09-05 19:53:24 +00:00
customize-preview.min.js Customizer: Add loading indicators for the Customizer preview. 2015-03-10 15:56:26 +00:00
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 Update hoverIntent to 1.8.1. 2015-03-11 17:15:27 +00:00
hoverIntent.min.js Update hoverIntent to 1.8.1. 2015-03-11 17:15:27 +00:00
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 Correctly capitalize JavaScript throughout core docs. 2014-12-02 00:31:22 +00:00
shortcode.min.js Shortcode JS: Avoid errors when an escaped shortcode includes a newline between brackets. 2014-05-01 03:37:13 +00:00
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 Update media-views and wp.Backbone.View for Backbone 1.1. 2014-02-13 07:36:13 +00:00
wp-backbone.min.js Update media-views and wp.Backbone.View for Backbone 1.1. 2014-02-13 07:36:13 +00:00
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 Fix JSHint errors in two files. see #25957, #25864. (Similar names but separate files.) 2013-11-15 06:24:10 +00:00
wp-list-revisions.min.js
wp-lists.js Fix double avatars and JS errors when spamming/trashing comments. 2014-03-26 23:14:15 +00:00
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 Fix JSHint errors in six files. 2013-11-15 04:42:09 +00:00
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 TinyMCE 4.0.12, first run. 2013-12-28 23:53:15 +00:00
wpdialog.min.js TinyMCE 4.0.12, first run. 2013-12-28 23:53:15 +00:00
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 Update the versions of several `devDependencies` in `package.json`. `grunt-cssjanus` has been updated to `0.2.2`, we no longer need the fork. Run `npm install` to receive updates for `node_modules` in the project root. 2014-01-29 04:43:30 +00:00
zxcvbn.min.js Add a copyright notice to zxcvbn. fixes #25926. 2013-12-04 19:53:10 +00:00