WordPress/wp-includes
Scott Taylor 615dd5331b Unifying media controls and supporting playlists in the editor:
* Support a `caption` attribute for audio and video shortcodes
* In `wp.media.audio|video`, rename `update` to `shortcode` to allow these models to share the same mixins as `wp.media.collection` subclasses
* When sending an audio or video shortcode to the editor, create a default caption if the user hasn't entered one. This currently only displays in the editor, not on the front end. Captions aren't tied to a specific attachment here because external sources are supported.
* In the `wp.mce.media` mixin, in the `edit` method, read `attr` instead of `data` when attempting to parse the encoded shortcode. `data` does not automatically update when the attribute changes. This was a blessing to debug.
* Add `wp.mce.media.PlaylistView` to support playlist views in TinyMCE
* Expose `WPPlaylistView` to global scope and suppress auto-parsing of playlist nodes when in the admin. Allow `WPPlaylistView` to be passed `metadata` on creation instead of requiring a JSON blob to be parsed.
* Remove all of the playlist logic from the `wpgallery` TinyMCE plugin.
* In `wp_prepare_attachment_for_js()` return more data for audio/video so that playlists can have parity in the admin/front end.

See #27320.


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


git-svn-id: http://core.svn.wordpress.org/trunk@27483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-20 13:33:14 +00:00
..
certificates WP_HTTP: Update the Root Certificate bundle used for SSL communication by WP_HTTP. 2014-02-27 02:33:14 +00:00
css TinyMCE: add internal command and shortcut (Alt+Shift+X) for toggling <code>. Define a button that can be added to any toolbar as wp_code. See #6113 2014-03-14 22:43:16 +00:00
fonts Widgets dashicons update. 2014-03-08 03:38:16 +00:00
ID3
images Reference https://wordpress.org rather than http://wordpress.org in strings, links, comments, etc. 2014-03-03 02:34:27 +00:00
js Unifying media controls and supporting playlists in the editor: 2014-03-20 13:33:14 +00:00
pomo Fix strict notices in Tests_POMO_PO. 2013-12-01 12:48:10 +00:00
SimplePie
Text
theme-compat Reference https://wordpress.org rather than http://wordpress.org in strings, links, comments, etc. 2014-03-03 02:34:27 +00:00
admin-bar.php Reference https://wordpress.org rather than http://wordpress.org in strings, links, comments, etc. 2014-03-03 02:34:27 +00:00
atomlib.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
author-template.php Remove a redundant title attribute. See #26559. Props joedolson. 2014-03-18 22:02:15 +00:00
bookmark-template.php Use a docs-specific variable for the link_category hook docs in wp-admin/bookmarks-template.php. 2014-01-18 16:58:13 +00:00
bookmark.php Add some missing braces to get_bookmarks() which was causing an early return. Introduced in [25934]. See #25468. Fixes #25874 2013-11-08 02:20:10 +00:00
cache.php Rather than removing the 3rd argument in WP_Object_Cache::delete(), mark it as $deprecated. 2014-02-11 16:41:12 +00:00
canonical.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
capabilities.php Don't default to current user for capability checks when dealing with a post without an author (post_author = 0). 2014-03-04 03:09:15 +00:00
category-template.php Avoid a notice in get_the_category_by_ID() when is_wp_error( $term ) is false but $term->name is not set. Clarify the @return value of get_category() and get_tag() which return the same possible types as get_term(), which they wrap. 2014-03-13 04:04:15 +00:00
category.php Avoid a notice in get_the_category_by_ID() when is_wp_error( $term ) is false but $term->name is not set. Clarify the @return value of get_category() and get_tag() which return the same possible types as get_term(), which they wrap. 2014-03-13 04:04:15 +00:00
class-feed.php
class-http.php Add context to an internal HTTP API hook. 2014-03-08 21:54:15 +00:00
class-IXR.php Allow query strings for servers in IXR_Client and WP_HTTP_IXR_Client. 2014-03-15 05:01:14 +00:00
class-json.php
class-oembed.php Remove Qik from the oEmbed provider list as it's shutting down. Fixes #27302. Props JustinSainton. 2014-03-13 21:28:14 +00:00
class-phpass.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
class-phpmailer.php Update PHPMailer to 5.2.7 from 5.2.4. 2014-03-03 20:25:14 +00:00
class-pop3.php
class-simplepie.php
class-smtp.php Update PHPMailer to 5.2.7 from 5.2.4. 2014-03-03 20:25:14 +00:00
class-snoopy.php
class-wp-admin-bar.php Convert argument array documentation to the hash-notation style for WP_Admin_Bar::add_node() and WP_Admin_Bar::add_group(). 2014-03-03 06:11:13 +00:00
class-wp-ajax-response.php
class-wp-customize-control.php More translation cleanups. 2014-03-19 08:18:14 +00:00
class-wp-customize-manager.php Inline documentation for hooks in wp-includes/class-wp-customize-manager.php. 2014-03-06 14:11:15 +00:00
class-wp-customize-section.php Update the Customizer API inline docs. 2014-03-04 20:21:14 +00:00
class-wp-customize-setting.php Inline documentation for hooks in wp-includes/class-wp-customize-setting.php. 2014-03-06 14:04:13 +00:00
class-wp-customize-widgets.php More translation cleanups. 2014-03-19 08:18:14 +00:00
class-wp-editor.php Add the version string to wp-content.css to avoid tenacious caching woes. see #27320. 2014-03-20 01:08:13 +00:00
class-wp-embed.php Inline documentation for core shortcode attributes. 2014-01-07 16:07:12 +00:00
class-wp-error.php
class-wp-http-ixr-client.php Allow query strings for servers in IXR_Client and WP_HTTP_IXR_Client. 2014-03-15 05:01:14 +00:00
class-wp-image-editor-gd.php The Pinking Shears stir from their slumber, awakened by what may seem, to those 2013-12-11 19:49:11 +00:00
class-wp-image-editor-imagick.php The Pinking Shears stir from their slumber, awakened by what may seem, to those 2013-12-11 19:49:11 +00:00
class-wp-image-editor.php Two more hook docs fixes. 2013-12-04 23:51:19 +00:00
class-wp-theme.php I am having a bad day. see #13265. 2014-03-08 04:20:14 +00:00
class-wp-walker.php
class-wp-xmlrpc-server.php XML-RPC: In wp.editPost, Remove all terms in a taxonomy when an empty array is explicitly passed. 2014-03-15 05:09:14 +00:00
class-wp.php Return 404 when querying author's posts who is not a member and has no posts on the site 2014-02-26 18:12:13 +00:00
class.wp-dependencies.php
class.wp-scripts.php
class.wp-styles.php Revert [27203], restore JIT color scheme stylesheets. Restores [27111]. 2014-03-12 16:12:15 +00:00
comment-template.php Avoid a notice in trackback_rdf() if user agent is not set. 2014-03-12 12:54:15 +00:00
comment.php Revert [27115] and let cache backends handle the stripping of spaces in cache keys as necessary. 2014-02-26 22:05:13 +00:00
compat.php
cron.php Cron: Fix a case where a cache inconsistency can cause wp_clear_scheduled_hook() to enter an infinite loop. This unravels the function from using other cron api functions to looping over the cron array directly. See #25773 2013-12-07 09:13:11 +00:00
date.php Add description for 'dayofyear' and 'dayofweek' arguments in WP_Date_Query. 2013-11-16 08:21:10 +00:00
default-constants.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
default-filters.php Allow for custom authentication handlers for all requests. 2014-03-09 15:23:15 +00:00
default-widgets.php In Recent Posts widget set default number to 5. 2014-03-17 17:01:14 +00:00
deprecated.php Revert [27203], restore JIT color scheme stylesheets. Restores [27111]. 2014-03-12 16:12:15 +00:00
feed-atom-comments.php Inline documentation for hooks in wp-includes/feed-atom-comments.php. 2013-12-21 20:22:12 +00:00
feed-atom.php
feed-rdf.php
feed-rss.php
feed-rss2-comments.php
feed-rss2.php
feed.php Remove all @package and @subpackage PHPDoc tags not at the file- or class-levels in core. 2014-02-25 17:14:14 +00:00
formatting.php In sanitize_file_name(), replace a UTF-8-encoded Unicode representation of a non-breaking space (\u00a0 / \xc2\xa) with an old-fashioned space: . 2014-03-19 07:16:15 +00:00
functions.php In is_serialized(), use substr() rather than array access, for compatibility with multibyte overloading. 2014-03-17 20:09:17 +00:00
functions.wp-scripts.php Inline documentation for hooks in wp-includes/functions.wp-scripts.php. 2013-10-27 17:51:09 +00:00
functions.wp-styles.php Inline documentation for hooks in wp-includes/functions.wp-styles.php. 2013-10-27 17:59:09 +00:00
general-template.php Introduce before_page_number and after_page_number arguments for paginate_links(). Fixes #24709. Props grahamarmfield. 2014-03-18 23:31:14 +00:00
http.php Use get_current_site() instead of the $current_site global when possible. 2013-11-13 03:23:10 +00:00
kses.php Allow the role attribute in kses for all elements. 2014-03-04 02:11:16 +00:00
l10n.php Add jshintrc to qunit. 2013-10-30 14:39:10 +00:00
link-template.php Fix various issues with WP_Adjacent_Post: 2014-03-20 02:59:15 +00:00
load.php Return a bool from wp_using_ext_object_cache(), never a null. 2014-03-20 02:55:14 +00:00
locale.php Better description for WP_Locale::_strings_for_pot(). props dimadin. fixes #25937. 2013-11-13 14:01:09 +00:00
media-template.php Unifying media controls and supporting playlists in the editor: 2014-03-20 13:33:14 +00:00
media.php Unifying media controls and supporting playlists in the editor: 2014-03-20 13:33:14 +00:00
meta.php Return false from metadata_exists() if the get_$type_metadata filter returns a false value. 2014-03-17 19:40:16 +00:00
ms-blogs.php Fix the return description for switch_to_blog() to reflect that it always returns true. 2014-03-02 04:41:15 +00:00
ms-default-constants.php Use get_current_site() instead of the $current_site global when possible. 2013-11-13 03:23:10 +00:00
ms-default-filters.php
ms-deprecated.php
ms-files.php
ms-functions.php In remove_user_from_blog(), avoid a potentially expensive IN query before invalidating the reassigned post and link caches. 2014-02-11 16:28:13 +00:00
ms-load.php In get_site_by_path(), avoid passing $paths through prepare(). If a path contains a %, we end up with problems. see #27003. 2014-03-06 18:18:15 +00:00
ms-settings.php Multisite load: Properly call wp_cache_set(). 2014-03-05 06:27:14 +00:00
nav-menu-template.php Add the ability to short-circuit wp_nav_menu() via the pre_wp_nav_menu hook. props kasparsd, DrewAPicture, Rarst. fixes #23627. 2014-03-03 20:43:15 +00:00
nav-menu.php Explicitly assign menu term relationship rather than piggybacking on wp_insert_post() with the tax_input argument. 2014-03-15 06:07:16 +00:00
option.php Inline documentation for hooks in wp-includes/option.php. 2014-03-02 23:35:13 +00:00
pluggable-deprecated.php Reference https://wordpress.org rather than http://wordpress.org in strings, links, comments, etc. 2014-03-03 02:34:27 +00:00
pluggable.php Avoid notices in wp_notify_postauthor() when a post has no author. 2014-03-17 20:31:14 +00:00
plugin.php Introduce doing_filter() and doing_action() to identify hooks in progress. 2014-02-26 18:44:14 +00:00
post-formats.php Allow has_post_format() to be used to check for any format. 2013-11-24 13:45:10 +00:00
post-template.php On attachment pages for audio and video, display players. Currently, only a link is displayed. Add minimal CSS rules for compatibility with 2011, 2012, and 2013 themes. 2014-03-19 19:00:14 +00:00
post-thumbnail-template.php Don't iterate over $wp_query->posts in update_post_thumbnail_cache() if it is empty. Adds unit tests. 2014-02-12 04:49:15 +00:00
post.php Better standardize parameter value types in PHPDocs where both a post ID or WP_Post would be acceptable. 2014-03-08 19:32:16 +00:00
query.php WP_Query: allow split_the_query = false to avoid a split. 2014-03-20 02:54:15 +00:00
registration-functions.php
registration.php
revision.php wp_get_post_revisions() should have a default orderby of date ID to tie-break rapidly added revisions - namely, when unit tests are run. There is a test that occasionally fails when running all tests, and always fails when running phpunit tests/phpunit/tests/post/revisions.php . This fixes that. 2014-02-17 21:23:12 +00:00
rewrite.php Fix a typo in the author_rewrite_rules hook doc. 2014-03-02 02:50:14 +00:00
rss-functions.php
rss.php
script-loader.php Unifying media controls and supporting playlists in the editor: 2014-03-20 13:33:14 +00:00
shortcodes.php Bail early from shortcode functions if no delimiter is present. 2014-03-04 07:11:13 +00:00
taxonomy.php Better standardize parameter value types in PHPDocs where both a post ID or WP_Post would be acceptable. 2014-03-08 19:32:16 +00:00
template-loader.php Add jshintrc to qunit. 2013-10-30 14:39:10 +00:00
template.php Inline documentation improvements for get_*_template() functions in wp-includes/template.php. 2014-01-05 17:55:11 +00:00
theme.php Clarify that unregister_default_headers() returns void in some situations. fixes #21876. 2014-03-18 00:12:15 +00:00
update.php Reference https://wordpress.org rather than http://wordpress.org in strings, links, comments, etc. 2014-03-03 02:34:27 +00:00
user.php Allow for custom authentication handlers for all requests. 2014-03-09 15:23:15 +00:00
vars.php Update the wp-inclues/vars.php file header to include Nginx as a recognized web server. 2014-01-10 18:15:13 +00:00
version.php 3.9-beta2 2014-03-20 04:43:15 +00:00
widgets.php Widget Customizer: Make temp hooks final and add inline docs. 2014-03-14 20:31:14 +00:00
wlwmanifest.xml The Pinking Shears stir from their slumber, awakened by what may seem, to those 2013-12-11 19:49:11 +00:00
wp-db.php Avoid a warning in wpdb::db_connect(). before_needle parameter of strstr() was added in PHP 5.3. 2014-03-11 19:27:15 +00:00
wp-diff.php Remove old debug comment. props nofearinc. fixes #25865. 2013-11-08 22:24:09 +00:00