Wordpress/wp-includes
Daryl Koopersmith 5a4a17687a Add new media workflow scripts, styles, and templates.
Please note that this commit does not integrate media into the existing UI. If you would like to see the new UI, navigate to the post editor and run the following in your browser's Javascript console:

	new wp.media.controller.Workflow().render().modal.open();


The Javascript is broken up into two files, with the slugs media-models and media-views.

* media-models: The models are UI agnostic, and can be used independent of the views. If you'd like to create custom UIs, this is the script for you.

* media-views: This is the Media Experience. The views (and controllers) depend on the models (which are listed as a dependency and will automatically be included thanks to wp_enqueue_script). The views also require the media templates, media-view styles, and the plupload bridge settings. Perhaps we should create a function to include the whole shebang, but in the meantime...

To include media-views in the admin, run the following PHP in or after 'admin_enqueue_scripts':

	wp_enqueue_script( 'media-views' );
	wp_enqueue_style( 'media-views' );
	wp_plupload_default_settings();
	add_action( 'admin_footer', 'wp_print_media_templates' );

see #21390.



git-svn-id: https://develop.svn.wordpress.org/trunk@21683 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-31 04:54:23 +00:00
..
css Add new media workflow scripts, styles, and templates. 2012-08-31 04:54:23 +00:00
images Flip Admin Bar search icon, props empireoflight and lessbloat, fixes #20033 2012-08-30 21:18:07 +00:00
js Add new media workflow scripts, styles, and templates. 2012-08-31 04:54:23 +00:00
pomo
SimplePie Update to SimplePie 1.3. props rmccue. 2012-08-28 17:24:33 +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 Fix screen reader text in IE7 and 8 in the toolbar "Updates" menu, props SergeyBiryukov, fixes #21333 2012-08-19 22:19:00 +00:00
atomlib.php
author-template.php
bookmark-template.php Bunch of PHPDoc corrections and cleanups. props c3mdigital. props SergeyBiryukov. fixes #21149 2012-07-09 05:03:53 +00:00
bookmark.php
cache.php Introduce wp_cache_switch_to_blog() and WP_Object_Cache::switch_to_blog() as a lighter/faster way to switch the cache to a new blog id. 2012-08-02 18:31:14 +00:00
canonical.php
capabilities.php Move the optimization done to get_user_by() in [21376] higher up the stack, into map_meta_cap() and is_super_admin(). 2012-08-20 21:58:34 +00:00
category-template.php
category.php
class-feed.php Stabilize how WordPress hooks into SimplePie to implement transient caching. 2012-08-29 00:25:52 +00:00
class-http.php Fix typo in HTTP docblock. props ocean90. fixes #21215. 2012-07-20 15:09:11 +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
class-phpass.php
class-phpmailer.php
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
class-snoopy.php
class-wp-admin-bar.php Remove the @return for WP_Admin_Bar::remove_node(). props scribu. fixes #20906. 2012-08-24 17:34:52 +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-atom-server.php Add tags_input, page_template, and post_category get magic to WP_Post. 2012-08-28 19:08:28 +00:00
class-wp-customize-control.php Avoid fatal error in the customizer when the current theme doesn't support custom headers. Props c3mdigital. fixes #21515 2012-08-10 20:15:06 +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 Use set_url_scheme(). Props johnbillion, MarcusPope. see #19037 #20759 2012-08-30 13:33:00 +00:00
class-wp-error.php
class-wp-http-ixr-client.php
class-wp-theme.php Fix WP_Theme's get_template_directory_uri() method. props batmoo. see #21549 for trunk. 2012-08-14 18:38:26 +00:00
class-wp-walker.php
class-wp-xmlrpc-server.php Use set_url_scheme(). Props johnbillion, MarcusPope. see #19037 #20759 2012-08-30 13:33:00 +00:00
class-wp.php
class.wp-dependencies.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
class.wp-scripts.php
class.wp-styles.php
comment-template.php Introduce get_edit_user_link(). Props scribu, georgestephanis, johnbillion. fixes #14787 see #20307 2012-07-30 18:30:03 +00:00
comment.php Use get_post() instead of bare SQL in do_trackbacks(). see #21309 2012-08-23 20:43:47 +00:00
compat.php
cron.php Introduce cron_request filter. Props ikailo. fixes #13449 2012-07-20 15:15:22 +00:00
default-constants.php
default-filters.php If the DB upgrade hasn't yet been run, assume the Link Manager is disabled. Important for multisite installs. props ryan. see #21307. 2012-08-16 23:09:40 +00:00
default-widgets.php Hide the link manager from the UI on upgrade, if the site has no links. New DB option, link_manager_enabled. 2012-08-13 16:18:42 +00:00
deprecated.php Add tags_input, page_template, and post_category get magic to WP_Post. 2012-08-28 19:08:28 +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
feed-rss.php
feed.php Use set_url_scheme(). Props johnbillion, MarcusPope. see #19037 #20759 2012-08-30 13:33:00 +00:00
formatting.php Only run stripslashes() in stripslashes_deep() for strings, not other scalar values. props Kawauso, knutsp. props coffee2code for [UT698]. fixes #18026. 2012-07-20 15:14:26 +00:00
functions.php Add get-attachment and query-attachments Ajax handlers. props koopersmith. see #21390. 2012-08-31 02:58:51 +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 Add 'order' to wp_get_archives(). props tar.gz. fixes #18832. 2012-08-24 20:50:22 +00:00
http.php
kses.php
l10n.php
link-template.php Use set_url_scheme(). Props johnbillion, MarcusPope. see #19037 #20759 2012-08-30 13:33:00 +00:00
load.php Introduce WP_Post class. Clean up ancestors handling. Props scribu, toppa. fixes #10381 see #21309 2012-08-20 19:47:52 +00:00
locale.php
media.php Add new media workflow scripts, styles, and templates. 2012-08-31 04:54:23 +00:00
meta.php
ms-blogs.php Restore blog_option_* filter. see #21459 2012-08-23 16:04:39 +00:00
ms-default-constants.php
ms-default-filters.php Multisite: Make it easy to replace or augment the over-quota message displayed when you try and upload new media and you have reached your quota. 2012-07-10 13:33:44 +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 Use set_url_scheme(). Props johnbillion, MarcusPope. see #19037 #20759 2012-08-30 13:33:00 +00:00
ms-load.php
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 Use set_url_scheme(). Props johnbillion, MarcusPope. see #19037 #20759 2012-08-30 13:33:00 +00:00
nav-menu.php
option.php
pluggable-deprecated.php
pluggable.php Use set_url_scheme(). Props johnbillion, MarcusPope. see #19037 #20759 2012-08-30 13:33:00 +00:00
plugin.php Revert [21287] until #21169 goes through. see #21321. 2012-07-21 20:24:21 +00:00
post-template.php Remove return ref from all calls to get_post() 2012-08-23 20:01:10 +00:00
post-thumbnail-template.php
post.php Simplify return from WP_Post::__get() now that references are no longer returned. see #21309 2012-08-29 13:42:11 +00:00
query.php Update phpdoc for functions that return WP_Post. Soft deprecate get_page(). see #21309 2012-08-23 20:34:41 +00:00
registration-functions.php
registration.php
rewrite.php
rss-functions.php
rss.php
script-loader.php Add new media workflow scripts, styles, and templates. 2012-08-31 04:54:23 +00:00
shortcodes.php
taxonomy.php Remove return ref from all calls to get_post() 2012-08-23 20:01:10 +00:00
template-loader.php
template.php
theme.php Use set_url_scheme(). Props johnbillion, MarcusPope. see #19037 #20759 2012-08-30 13:33:00 +00:00
update.php
user.php Add @since for _wp_get_user_contactmethods() and _get_additional_user_keys(). Props SergeyBiryukov. fixes #21246 2012-08-15 15:33:59 +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-alpha-21678. 2012-08-30 21:59:32 +00:00
widgets.php
wlwmanifest.xml
wp-db.php Basic support for the mysql_connect() new_link and client_flags arguments. props Otto42, fixes #19324. 2012-08-24 17:44:21 +00:00
wp-diff.php