WordPress/wp-includes
Scott Taylor bd4085fac3 The `canPlayType` property for audio and video in JS is so bad that the official valid responses are "probably" and "maybe". There are many cases where we might want to know if an audio|video tag is gonna blow up in our face before even attempting to make a `MediaElementPlayer` instance out of it.
The best (and most cautious) way to tackle this is to whitelist types by browser. Imagine that one implemented MEjs in TinyMCE's rich editor mode, this would be very helpful.

Add `isCompatible( $media )` to `wp.media.mixin`. Future features will use this.

See #27389.


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


git-svn-id: http://core.svn.wordpress.org/trunk@27382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-14 14:36:14 +00:00
..
ID3 ID3 1.9.7. 2013-07-13 00:37:36 +00:00
SimplePie SimplePie: Fix use of DOMElement as array. 2013-09-11 04:02:10 +00:00
Text Declare Text_Diff::trimNewlines() as static. Upstream is not back compat. props aaroncampbell. fixes #24372. 2013-05-25 22:10:53 +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 Modals: darken all overlays, update all box-shadows and headings, correct thickbox styling, make the link modal narrower and bring back the animation (css transition). Props avryl, see #26952 2014-03-14 05:55:16 +00:00
fonts Widgets dashicons update. 2014-03-08 03:38:16 +00:00
images Reference https://wordpress.org rather than http://wordpress.org in strings, links, comments, etc. 2014-03-03 02:34:27 +00:00
js The `canPlayType` property for audio and video in JS is so bad that the official valid responses are "probably" and "maybe". There are many cases where we might want to know if an audio|video tag is gonna blow up in our face before even attempting to make a `MediaElementPlayer` instance out of it. 2014-03-14 14:36:14 +00:00
pomo Fix strict notices in Tests_POMO_PO. 2013-12-01 12:48:10 +00:00
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 Add exclude and include to wp_list_authors(). 2014-02-25 20:11:13 +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-IXR.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-feed.php Inline documentation for hooks in wp-includes/class-feed.php. 2013-10-08 20:07:08 +00:00
class-http.php Add context to an internal HTTP API hook. 2014-03-08 21:54:15 +00:00
class-json.php Patch Services_JSON to use the proper function name and avoid a fatal error. see #24210. 2013-07-08 16:55:34 +00:00
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 Update pop3 class. Props aaroncampbell. fixes #17064 2011-04-21 20:40:32 +00:00
class-simplepie.php Update SimplePie to 1.3.1. Props rmccue, ocean90. fixes #22321 2012-11-05 14:25:25 +00:00
class-smtp.php Update PHPMailer to 5.2.7 from 5.2.4. 2014-03-03 20:25:14 +00:00
class-snoopy.php Use correct variable in the deprecated and abandoned Snoopy HTTP client. see #24210. 2013-07-08 17:17:46 +00:00
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 Specify the charset in WP_Ajax_Response::send(). Props sergey.s.betke@novgaro.ru, SergeyBiryukov. fixes #19448 2012-08-15 18:17:21 +00:00
class-wp-customize-control.php Add header image uploads with cropping to the customizer. 2014-03-11 04:13:16 +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 Widget Customizer: Move style/script registration to script loader. Update Gruntfile.js. 2014-03-13 19:41:14 +00:00
class-wp-editor.php Load MediaElement's CSS when TinyMCE is loaded via `$mce_css` in `editor_settings()`. Add some baseline styles in `wp-content.css` for audio, video, and embed tags to ensure their `max-width` is `100%`, regardless of whether MEjs is implemented in TinyMCE. 2014-03-14 12:34:16 +00:00
class-wp-embed.php Inline documentation for core shortcode attributes. 2014-01-07 16:07:12 +00:00
class-wp-error.php Correct inline docs for is_wp_error(). props johnbillion. fixes #24637. 2013-06-24 18:23:45 +00:00
class-wp-http-ixr-client.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +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 Revert r25824:25875 from the core.svn.wordpress.org repository. 2013-10-25 02:29:52 +00:00
class-wp-xmlrpc-server.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
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 Inline documentation for WP_Dependencies and _WP_Dependency classes. 2013-09-20 19:54:10 +00:00
class.wp-scripts.php If the script_loader_src filter returns nothing, bail instead of printing <script src="">. 2013-09-16 22:12:09 +00:00
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 Restore compat for json_decode and json_encode. fixes #18015 for trunk. 2011-07-06 23:33:05 +00:00
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 Add context and a missing period to widget descriptions. Fixes #26668. Props pavelevap, Hanni 2014-03-05 17:26:17 +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 Inline documentation for hooks in wp-includes/feed-atom.php. 2013-09-20 22:50:10 +00:00
feed-rdf.php Revert r25824:25875 from the core.svn.wordpress.org repository. 2013-10-25 02:29:52 +00:00
feed-rss.php Revert r25824:25875 from the core.svn.wordpress.org repository. 2013-10-25 02:29:52 +00:00
feed-rss2-comments.php Revert r25824:25875 from the core.svn.wordpress.org repository. 2013-10-25 02:29:52 +00:00
feed-rss2.php Inline documentation for hooks in wp-includes/feed-rss2.php. 2013-09-20 22:27:09 +00:00
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 `figcaption` should not be treated as a block-level element by `wpautop()`. See #25646. Props oso96_2000. 2014-03-13 21:51:16 +00:00
functions.php Video editing in the media modal: 2014-03-09 10:32:15 +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 Improve `paginate_links()` performance by not calling `number_format_i18n()` unnecessarily. Fixes #25735 with tests. Props johnpbloch. 2014-03-13 17:39:15 +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 Introduce get_the_permalink() as an alias for get_permalink(). 2014-03-05 07:24:14 +00:00
load.php Inline documentation fixes for `timer_stop()`. 2014-03-01 02:42: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 When rendering Underscore templates for Audio/Video details, use 2 new PHP functions to render the markup for audio and video tags: `wp_underscore_audio_template()` and `wp_underscore_video_template()`. 2014-03-14 12:20:15 +00:00
media.php Account for `preload="metadata"` in audio and video shortcodes when multiple versions of the same `<source>` appear on the page by appending a query arg to "cache-bust" passed sources. The query arg is used to make the sources "unique." They will still be cached by the browser and won't bust the cache on every request. 2014-03-13 03:42:14 +00:00
meta.php Correct return values for update_metadata() and related functions. 2014-02-18 21:36:14 +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 Live network counts of users and sites for small networks. 2013-09-25 16:21:09 +00:00
ms-deprecated.php Introduce wp_get_sites(), a long-awaited replacement for get_blog_list(). 2013-09-14 21:13:10 +00:00
ms-files.php Use stripslashes() instead of wp_unslash() in ms-files.php to avoid formatting.php dependency. props devesine, fixes #24374. 2013-05-20 20:20:22 +00:00
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 Consistently return a WP_Error object in case of an error in wp_update_nav_menu_item(). 2014-02-25 00:51:13 +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 Allow for custom authentication handlers for all requests. 2014-03-09 15:23:15 +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 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
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 In `WP_Query::get_queried_object()`, account for `pre_get_posts` by checking for `tag` when `tag_id` isn't present. Tags still need to be rolled up into `tax_query`. Add a unit test confirming expected query vars during and after `pre_get_posts`. 2014-03-12 04:08:18 +00:00
registration-functions.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
registration.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
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 Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
rss.php Inline docs for hooks in MagPie. 2013-09-06 17:19:09 +00:00
script-loader.php Widget Customizer: Move style/script registration to script loader. Update Gruntfile.js. 2014-03-13 19:41: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 Use `wp_get_attachment_url()` instead of the GUID when getting header image URLs. Fixes #27222. Props Kopepasah. 2014-03-06 15:55: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 Version bump for TinyMCE stylesheet. 2014-03-13 23:16:14 +00:00
widgets.php Remove unused code from WP_Widget::update_callback(). 2014-02-21 18:51:13 +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