WordPress/wp-includes
Daryl Koopersmith 53ccb09bce Give media a heart transplant.
Revises the concept of the media controller and workspace views (i.e. two central points of control) to be more granular. The main media object is now the `Frame`, which is a hybrid view and state machine.

The state machine is a collection of states, which are just generic instances of `Backbone.Model`. This circumvents the problem of juggling global parameters when changing states. Each state contains its own event loop. All events are also forwarded to the frame itself (as is the case in all model/collection relationships).

The frame view contains several regions, each of which can be overridden without harming or re-rendering the other regions. These work well when used in conjunction with the state machine events.

This removes the upload sidebar (don't worry, visible upload UI will return). Drag and drop uploading still works. The ability to upload has been abstracted into its own view (instead of being attached to the central workspace view).

Editing galleries is temporarily broken — the gallery creation and editing experiences will be unified in a future patch.

Adds events to detect dragging changes in `wp.Uploader` and adds methods to detect and leverage browser support for CSS3 transitions.

see #21390, #21809.


git-svn-id: http://core.svn.wordpress.org/trunk@22320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-28 23:29:17 +00:00
..
css Give media a heart transplant. 2012-10-28 23:29:17 +00:00
images Consolidated patch for retina support, props taylorde, props empireoflight, fixes #21019 2012-09-27 02:12:54 +00:00
js Give media a heart transplant. 2012-10-28 23:29:17 +00:00
pomo Restore return by ref for make_entry(). Props SergeyBiryukov. fixes #21839 2012-09-10 17:34:34 +00:00
SimplePie Fix fatal error in SimplePie. see #22158. 2012-10-10 21:38:10 +00:00
Text
theme-compat Introduce get_edit_user_link(). Props scribu, georgestephanis, johnbillion. fixes #14787 see #20307 2012-07-30 18:30:03 +00:00
admin-bar.php Check a post type's show_in_admin_bar property for 'View' and 'Edit' object links. Previously show_in_admin_bar was only checked for the add new menu. fixes #20504. 2012-09-23 18:39:03 +00:00
atomlib.php
author-template.php Use get_post() instead of global $post. 2012-09-04 16:29:28 +00:00
bookmark-template.php Introduce constants to allow for easier expression of time periods in seconds. Adds MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, YEAR_IN_SECONDS. props nbachiyski, SergeyBiryukov. fixes #20987. 2012-09-25 05:26:19 +00:00
bookmark.php Don't cache a non-existent link in get_bookmark(). props wonderboymusic, fixes #21159. 2012-09-13 16:41:43 +00:00
cache.php Objects no longer need to be explicitly passed by ref to call_user_func*() to be callable. Props wonderboymusic. fixes #21865 2012-10-04 20:00:16 +00:00
canonical.php Use network_site_url() for wp-signup.php. props markjaquith. see #19796. 2012-09-11 12:27:25 +00:00
capabilities.php Return WP_User objects when querying 'all' fields with WP_User_Query. 2012-10-16 20:05:40 +00:00
category-template.php Avoid 'Only variables should be assigned by reference' warning. Props wonderboymusic. see #21865 2012-10-04 18:37:43 +00:00
category.php Remove bogus optional value for get_cat_ID(). (Incorrect usage will result in a warning.) props Latz. fixes #21201. 2012-10-18 01:40:42 +00:00
class-feed.php Stabilize how WordPress hooks into SimplePie to implement transient caching. 2012-08-29 00:25:52 +00:00
class-http.php Objects no longer need to be explicitly passed by ref to call_user_func*() to be callable. Props wonderboymusic. fixes #21865 2012-10-04 20:00:16 +00:00
class-IXR.php Specify the encoding in IXR_Server::output(). Props solarissmoke, sergey.s.betke@novgaro.ru, SergeyBiryukov. fixes #4794 2012-08-15 20:12:00 +00:00
class-json.php
class-oembed.php Objects no longer need to be explicitly passed by ref to call_user_func*() to be callable. Props wonderboymusic. fixes #21865 2012-10-04 20:00:16 +00:00
class-phpass.php
class-phpmailer.php Do not pass mail() a fourth argument when safe_mode is in effect. 2012-06-26 03:54:17 +00:00
class-pop3.php
class-simplepie.php Use ABSPATH . WPINC rather than dynamically building the include path. see #21183. 2012-08-28 17:27:18 +00:00
class-smtp.php Upgrade PHPMailer to 5.2.1. Props MattyRob. fixes #19887 2012-02-07 16:13:51 +00:00
class-snoopy.php
class-wp-admin-bar.php Accessibility shortcuts: new looks and fix for the WebKit focus bug, props lessbloat, fixes #21471 2012-10-16 21:26:59 +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 New color picker, props mattwiebe. see #21206. 2012-09-27 01:57:38 +00:00
class-wp-customize-manager.php phpdoc for Customizer classes and methods. Props bananastalktome. see #21303 2012-07-26 21:45:33 +00:00
class-wp-customize-section.php phpdoc for Customizer classes and methods. Props bananastalktome. see #21303 2012-07-26 21:45:33 +00:00
class-wp-customize-setting.php phpdoc for Customizer classes and methods. Props bananastalktome. see #21303 2012-07-26 21:45:33 +00:00
class-wp-editor.php Editor: fix setting wpActiveEditor when TinyMCE is not used, see #21718 2012-10-16 22:01:30 +00:00
class-wp-embed.php Move WP_Embed into its own file. props ocean90. fixes #20533. 2012-09-25 08:39:26 +00:00
class-wp-error.php
class-wp-http-ixr-client.php
class-wp-image-editor-gd.php Avoid Strict Standards warnings. Props markoheijnen. see #6821 2012-10-04 21:59:36 +00:00
class-wp-image-editor-imagick.php Avoid Strict Standards warnings. Props markoheijnen. see #6821 2012-10-04 21:59:36 +00:00
class-wp-image-editor.php Return WP_Error when no editor is selected. Props markoheijnen. see #6821 2012-10-16 13:46:00 +00:00
class-wp-theme.php Make Twenty Twelve the default theme for new installs. props markoheijnen, SergeyBiryukov. see #21789. 2012-09-27 07:47:51 +00:00
class-wp-walker.php Objects no longer need to be explicitly passed by ref to call_user_func*() to be callable. Props wonderboymusic. fixes #21865 2012-10-04 20:00:16 +00:00
class-wp-xmlrpc-server.php In wp_xmlrpc_server::_insert_post(), don't return an error if set_post_thumbnail() returns false when the attachment ID doesn't change. 2012-10-23 14:08:20 +00:00
class-wp.php Avoid 'headers already sent' messages for header_remove() the same way we currently do with header(). props ryan. fixes #22258. 2012-10-25 20:38:55 +00:00
class.wp-dependencies.php Revert [21420] and [21481]. Accepting a string caused back compat problems including the possibility of revealing previously hidden circular dependencies resulting in infinite loops. 2012-10-23 20:32:12 +00:00
class.wp-scripts.php Allow protocol-relative URLs when registering/enqueueing scripts and styles. 2012-06-28 20:18:38 +00:00
class.wp-styles.php Allow protocol-relative URLs when registering/enqueueing scripts and styles. 2012-06-28 20:18:38 +00:00
comment-template.php Put required field indicators within labels. Update styling of bundled themes to accommodate. Props MikeHansenMe. fixes #21897 2012-10-05 16:34:32 +00:00
comment.php Duplicate comments should be allowed under a different comment parent. props andy. fixes #21609. 2012-10-14 17:06:37 +00:00
compat.php
cron.php Introduce constants to allow for easier expression of time periods in seconds. Adds MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, YEAR_IN_SECONDS. props nbachiyski, SergeyBiryukov. fixes #20987. 2012-09-25 05:26:19 +00:00
default-constants.php Make Twenty Twelve the default theme for new installs. props markoheijnen, SergeyBiryukov. see #21789. 2012-09-27 07:47:51 +00:00
default-filters.php Fix option name. props ocean90, see #21719. 2012-09-27 19:19:18 +00:00
default-widgets.php Prime post caches for the Recent Comments widget. props mitchoyoshitaka. see #15400. 2012-10-23 14:18:37 +00:00
deprecated.php Introduce WP_Image_Editor, WP_Image_Editor_Imagick, and WP_Image_Editor_GD. Abstracts image editing API and adds support for ImageMagick. 2012-10-01 20:59:06 +00:00
feed-atom-comments.php Use get_search_query() in feed-rss2-comments.php. Props SergeyBiryukov. fixes #21365 2012-07-25 18:04:17 +00:00
feed-atom.php Use html_type for alternate link elements in atom feeds, as done in atom comment feeds. props niallkennedy. fixes #21305. 2012-07-20 15:08:45 +00:00
feed-rdf.php
feed-rss2-comments.php Use get_search_query() in feed-rss2-comments.php. Props SergeyBiryukov. fixes #21365 2012-07-25 18:04:17 +00:00
feed-rss2.php Use the_content_feed() when looking for zero-length post content for RSS2 feeds. Now you can have blank posts with content generated by the_content filters. props SergeyBiryukov. fixes #15604 2012-07-09 03:33:01 +00:00
feed-rss.php
feed.php Introduce constants to allow for easier expression of time periods in seconds. Adds MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, YEAR_IN_SECONDS. props nbachiyski, SergeyBiryukov. fixes #20987. 2012-09-25 05:26:19 +00:00
formatting.php Fix wp_basename() for Windows by replacing %5C with /. 2012-10-25 22:31:17 +00:00
functions.php Buttons: 2012-10-26 19:40:39 +00:00
functions.wp-scripts.php Have wp_script_is() and wp_style_is() accept 'enqueued', as it reads better than 'queue' and is consistent with 'registered'. fixes #21741. 2012-08-30 18:57:57 +00:00
functions.wp-styles.php Have wp_script_is() and wp_style_is() accept 'enqueued', as it reads better than 'queue' and is consistent with 'registered'. fixes #21741. 2012-08-30 18:57:57 +00:00
general-template.php Auto feeds for post type archives. props mgdl, wonderboymusic. fixes #21648. 2012-09-24 21:21:29 +00:00
http.php Handle pre-flighted OPTIONS requests in send_origin_headers(). Props nacin. fixes #21024 2012-09-24 21:39:04 +00:00
kses.php Recommend the wp_kses_allowed_html filter over CUSTOM_TAGS. Soft deprecate CUSTOM_TAGS. see #17977, #20210. 2012-09-10 18:00:41 +00:00
l10n.php Avoid 'Only variables should be assigned by reference' warning. Props knutsp. fixes #22013 2012-10-04 18:09:30 +00:00
link-template.php When stripping off a pathinfo home root (/index.php/) do it with case insensitivity. props SergeyBiryukov. fixes #13164. see #8847. 2012-10-25 20:09:54 +00:00
load.php * Register blog-id-cache group as global 2012-10-01 18:03:23 +00:00
locale.php
media.php Give media a heart transplant. 2012-10-28 23:29:17 +00:00
meta.php Defer the meta_id-fetching query until after comparison of the previous value, so that redundant calls to update_metadata() can bail without making that query. props nacin. fixes #22191 2012-10-15 05:51:38 +00:00
ms-blogs.php Sync actions between update_blog_details() and update_blog_status(). Add make_delete_blog and make_undelete_blog actions. 2012-10-11 12:37:46 +00:00
ms-default-constants.php Have wp_upload_dir() account for blog switching, ms-files rewriting, and the UPLOADS constant properly. This type of logic needs a lot of code comments. 2012-10-12 22:05:02 +00:00
ms-default-filters.php Remove ms-files.php rewriting from WordPress multisite. fixes #19235. 2012-09-11 22:22:20 +00:00
ms-deprecated.php Undeprecate *_blog_option() by popular demand. Put them back in ms-blogs.php since direct inclusion of ms-blogs.php/ms-functions.php is unforntunately common. 2012-08-08 17:11:15 +00:00
ms-files.php
ms-functions.php Consolidate some transalted strings. Remove unnecessary trailing newlines. Props pavelevap. fixes #22274 2012-10-25 22:21:15 +00:00
ms-load.php Reduce use of global. Use get_blog_details() instead. fixes #22090 2012-10-04 12:40:09 +00:00
ms-settings.php Resurrect the switched global. Some are still using it. see #21459 2012-08-22 03:34:00 +00:00
nav-menu-template.php Confirm that the nav menu's underlying object is in the proper taxonomy before adding the current-menu-item class. props SergeyBiryukov. fixes #21369. 2012-10-25 20:32:01 +00:00
nav-menu.php Optimize wp_update_nav_menu_item() for high performance. Only query items for a menu when we need them. Update items after updating its meta so the meta cache can be leveraged. see #22189. 2012-10-15 14:27:16 +00:00
option.php Don't create {$blog_id}_user-settings, {$blog_id}_user-settings-time, and {$blog_id}_dashboard_quick_press_last_post_id user options when a super admin visits a site they aren't a member of. Instead, rely solely on the wp-settings cookie. 2012-10-17 18:58:09 +00:00
pluggable-deprecated.php Remove AtomPub from core. 2012-09-11 20:11:39 +00:00
pluggable.php Introduce constants to allow for easier expression of time periods in seconds. Adds MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, YEAR_IN_SECONDS. props nbachiyski, SergeyBiryukov. fixes #20987. 2012-09-25 05:26:19 +00:00
plugin.php Revert [21287] until #21169 goes through. see #21321. 2012-07-21 20:24:21 +00:00
post-template.php Objects no longer need to be explicitly passed by ref to call_user_func*() to be callable. Props wonderboymusic. fixes #21865 2012-10-04 20:00:16 +00:00
post-thumbnail-template.php Add $wp_query parameter to update_post_thumbnail_cache(). props scribu. see #19949, fixes that ticket for 3.4. 2012-04-30 15:55:57 +00:00
post.php Use the create_posts capability in more places. 2012-10-24 22:15:43 +00:00
query.php If posts is an empty array, bail from set_found_posts(). If posts is null or otherwise empty proceed through set_found_posts(). This accommodates caching plugins such as Advanced Post Cache that force posts to be empty for later population but still require the found_posts_query filter to run. 2012-10-17 20:57:23 +00:00
registration-functions.php
registration.php
rewrite.php Make Multisite work when WordPress is installed in a subdirectory. You can now have WordPress Multisite as an SVN external or a Git submodule! props johnjamesjacoby, evansolomon, duck_, jakemgold, nacin, markjaquith. see #19796 2012-09-27 06:07:21 +00:00
rss-functions.php
rss.php
script-loader.php Consolidate buttons CSS into a single file. 2012-10-15 14:55:29 +00:00
shortcodes.php Add a comment to get_shortcode_regex() mentioning its near clones elsewhere. see #21996. 2012-09-26 01:16:31 +00:00
taxonomy.php Fix documentation typo: s/WP_Erorr/WP_Error/. See #21593. 2012-10-25 22:29:37 +00:00
template-loader.php
template.php Avoid notices in get_*_template() functions that use get_queried_object(), which can return null. Props wonderboymusic. fixes #20519 2012-10-25 12:54:50 +00:00
theme.php If we have not yet initialized the custom header/background, do not do extra removal in _remove_theme_support(). fixes #22246. 2012-10-26 04:17:25 +00:00
update.php Introduce constants to allow for easier expression of time periods in seconds. Adds MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, YEAR_IN_SECONDS. props nbachiyski, SergeyBiryukov. fixes #20987. 2012-09-25 05:26:19 +00:00
user.php Return WP_User objects when querying 'all' fields with WP_User_Query. 2012-10-16 20:05:40 +00:00
vars.php TinyMCE: better exclusion of Opera mobile, fixes #21416 2012-07-30 19:40:52 +00:00
version.php Compress scripts/styles: 3.5-beta2-22315. 2012-10-26 22:58:34 +00:00
widgets.php Objects no longer need to be explicitly passed by ref to call_user_func*() to be callable. Props wonderboymusic. fixes #21865 2012-10-04 20:00:16 +00:00
wlwmanifest.xml
wp-db.php When replacing floats in wpdb::prepare(), avoid escaped placeholders (%%f). props SergeyBiryukov. fixes #19861. 2012-10-25 20:52:50 +00:00
wp-diff.php Objects no longer need to be explicitly passed by ref to call_user_func*() to be callable. Props wonderboymusic. fixes #21865 2012-10-04 20:00:16 +00:00