WordPress/wp-admin
Daryl Koopersmith ef0774026b Media: Improve sidebar handling and make attachment display properties attachment-specific.
`wp.mce.media`
* Watch all workflows for the `insert` event and attempt to insert the current state's `selection` if it exists.
* Fetch and pass attachment display properties through to `wp.media.string.image()`.

`wp.media.controller.Region`
* Separate the concept of events and modes.
* All events triggered on a `Region` trigger both `event` and `event:mode` callbacks.
* When a mode is deactivated, `deactivate` and `deactivate:mode` events are fired.
* When a mode is activated, `activate` and `activate:mode` events are fired.

`wp.media.controller.Library`
* Remove the `details()`, `buildDetails()`, and `clearDetails()` methods that juggled sidebar views. Instead, handle the sidebar views using modes.

`wp.media.controller.Gallery`
* Shift the overloaded `sidebar()` method to use modes.

`wp.media.view.MediaFrame.Post`
* Declare `activate:mode` event bindings using an nested object to reduce repetition.
* Update sidebar activation callbacks.

`wp.media.view.Settings`
* Refactor to leverage HTML data attributes and implicit values (instead of setting the fallback whenever an object was created). This has the additional benefit that gallery shortcode parameters are not output when the user has left them set to the default.

see #21390.


git-svn-id: http://core.svn.wordpress.org/trunk@22466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-08 14:15:09 +00:00
..
css Blue style fixes and updates. props melchoyce. see #22248. 2012-11-08 00:57:27 +00:00
images More retina backgrounds and bits, props saracannon, empireoflight and lessbloat, see #21019 2012-11-07 20:54:08 +00:00
includes Forms with the class .wp-upload-form will now have their submit button disabled until a file is selected. props kovshenin, helenyhou, lessbloat, SergeyBiryukov, tommcfarlin. fixes #20855. 2012-11-07 23:54:03 +00:00
js Media: Improve sidebar handling and make attachment display properties attachment-specific. 2012-11-08 14:15:09 +00:00
maint Use retina logo in install, upgrade, setup-config, repair, and confirmation screens. 2012-11-07 17:34:22 +00:00
network Use retina logo in install, upgrade, setup-config, repair, and confirmation screens. 2012-11-07 17:34:22 +00:00
user
about.php
admin-ajax.php Caption editing in the media modal library. 2012-10-10 23:32:48 +00:00
admin-footer.php Rename div#footer to div#wpfooter in the admin. Namespace one of our major elements and avoid clashing with widgets with the id of 'footer'. props andrewryno, koopersmith. see #14466. 2012-09-16 23:03:35 +00:00
admin-functions.php
admin-header.php Accessibility shortcuts: new looks and fix for the WebKit focus bug, props lessbloat, fixes #21471 2012-10-16 21:26:59 +00:00
admin-post.php
admin.php Send nocache_headers() in the admin earlier, on the DB upgrade page. Prevents a potential redirect loop reproduced in Chrome from heavy caching of headers. props mdawaffe. see #21745. 2012-09-19 01:51:40 +00:00
async-upload.php
comment.php
credits.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
custom-background.php Proper button heights on the custom header and background pages. props johnbillion. fixes #22385. 2012-11-08 01:51:05 +00:00
custom-header.php Proper button heights on the custom header and background pages. props johnbillion. fixes #22385. 2012-11-08 01:51:05 +00:00
customize.php Keyboard accessibility for the theme customizer. props lessbloat, jorbin, JustinSainton. fixes #21283. 2012-11-06 14:47:25 +00:00
edit-comments.php Improve the contextual help for the comment bubble in the 'In Response To' column. Props lessbloat. fixes #19788 2012-10-23 13:37:18 +00:00
edit-form-advanced.php edit_form_after_editor action. props helenyhou. fixes #19658. 2012-11-07 21:49:47 +00:00
edit-form-comment.php
edit-link-form.php
edit-tag-form.php Enter the semicolon. Props F J Kaiser, SergeyBiryukov. fixes #21393 2012-10-18 13:06:39 +00:00
edit-tags.php Use the regular post type UI for editing single media items (attachments). 2012-09-21 22:52:54 +00:00
edit.php Use the create_posts capability in more places. 2012-10-24 22:15:43 +00:00
export.php Rename filter on $args sent to export_wp() for clarity. See #19863. 2012-11-06 14:51:45 +00:00
freedoms.php
import.php
index.php Use the create_posts capability in more places. 2012-10-24 22:15:43 +00:00
install-helper.php
install.php Use retina logo in install, upgrade, setup-config, repair, and confirmation screens. 2012-11-07 17:34:22 +00:00
link-add.php
link-manager.php
link-parse-opml.php
link.php Add the jQuery UI Touch Punch plugin to handle dragging on mobile devices, props georgestephanis, see #20014 2012-04-11 02:20:51 +00:00
load-scripts.php Do not use time constants in files the WP bootstrap is not or may not be loaded. see #20987. 2012-09-25 07:05:48 +00:00
load-styles.php Do not use time constants in files the WP bootstrap is not or may not be loaded. see #20987. 2012-09-25 07:05:48 +00:00
media-new.php
media-upload.php
media.php
menu-header.php Admin menu: add phpdoc/inline comments describing the usage of the param $icon_url in add_menu_page(), add string 'none' to be used when a menu icon is added from CSS, switch core items in the admin menu to use 'none', fixes #21349 2012-09-16 22:51:44 +00:00
menu.php Introduce create_posts meta capability. Props scribu, nacin, casben79. see #16714 2012-09-27 15:33:19 +00:00
moderation.php
ms-admin.php
ms-delete-site.php Reduce use of global. Use get_blog_details() instead. fixes #22090 2012-10-04 12:40:09 +00:00
ms-edit.php
ms-options.php
ms-sites.php
ms-themes.php
ms-upgrade-network.php
ms-users.php
my-sites.php
nav-menus.php Replace multiple wp_enqueue_script() calls in nav-menus.php with dependencies. props SergeyBiryukov. fixes #21777. 2012-09-03 15:35:22 +00:00
network.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
options-discussion.php Make 'Show Avatars' a checkbox rather than a yes/no radio button. props tmoorewp, fixes #20889. 2012-09-26 06:44:26 +00:00
options-general.php Don't show the same time or date format twice on the General Settings page. This can occur if a translated format is the same as an existing default format. fixes #21060. 2012-10-25 20:15:47 +00:00
options-head.php
options-media.php Always attempt to embed URLs in content, removing the Auto-embeds (autoembed_urls) option. 2012-09-25 07:10:09 +00:00
options-permalink.php Remove unnecessary .tog class from checkboxes on the Permalink Settings screen. Designed originally for the admin color scheme choice (see [7259]), it causes vertical misalignment and lack of spacing between the checkbox and corresponding label. see #16379. 2012-10-05 14:36:46 +00:00
options-privacy.php Fold Privacy Settings into Reading Settings, moving blog_public (search engine/robots) to options-reading and removing options-privacy. 2012-09-13 17:28:57 +00:00
options-reading.php Update contextual help for 'Search Engine Visibility' to reflect UI changes. Props DrewAPicture. see #16416 2012-11-05 23:17:28 +00:00
options-writing.php Add back Update Services help. props DrewAPicture, fixes #22365. 2012-11-05 21:38:48 +00:00
options.php Move the static front page saving routine to a single sanitize_option() callback for show_on_front. page_on_front and page_for_posts are now manually set by this callback, and not separately by options.php. see #16379. 2012-10-08 21:25:13 +00:00
plugin-editor.php
plugin-install.php Browse and install your wordpress.org plugin favorites from the plugin installer. props Otto42, Japh, DrewAPicture. fixes #22002. 2012-09-27 00:47:01 +00:00
plugins.php Only allow operations on network plugins through the network admin. see #21187, for trunk. 2012-09-04 20:51:33 +00:00
post-new.php Use the create_posts capability in more places. 2012-10-24 22:15:43 +00:00
post.php Use the regular post type UI for editing single media items (attachments). 2012-09-21 22:52:54 +00:00
press-this.php Extend Press This by a few pixels to allow longer strings. props SergeyBiryukov. fixes #20975. 2012-11-07 19:27:19 +00:00
profile.php
revision.php
setup-config.php Use retina logo in install, upgrade, setup-config, repair, and confirmation screens. 2012-11-07 17:34:22 +00:00
theme-editor.php Always URL-encode a stylesheet directory value before using it in a URL. These situations are saved by wp_nonce_url(), but we should not depend on that. see #21749, for trunk only. 2012-09-04 22:35:12 +00:00
theme-install.php Fix help text on the Install Themes screen, props SergeyBiryukov, fixes #20925 2012-08-22 02:28:30 +00:00
themes.php Remove "This theme supports widgets..." from the theme activation notice. props ryanimel. fixes #19787. 2012-09-24 16:31:41 +00:00
tools.php
update-core.php Updates and fixes to the new button styles. By default, buttons are now the same size as they were in 3.4. Then there is a smaller button (designed for minor elements) and a larger button (designed for things like Publish and Save Changes). Better focus styles. props lessbloat. see #21598. 2012-09-21 19:34:23 +00:00
update.php Merge some strings. props pavelevap. fixes #22306. 2012-11-07 19:37:54 +00:00
upgrade-functions.php
upgrade.php Larger buttons for the DB upgrade screens. see #21598. 2012-11-07 18:38:17 +00:00
upload.php Clean attachment cache after a manual update, not before. props mdawaffe. fixes #20786. 2012-08-24 15:32:23 +00:00
user-edit.php Remove unnecessary label. Props waclawjacek. fixes #17978 2012-09-20 13:59:39 +00:00
user-new.php Kill use of colons in class names, props SergeyBiryukov, fixes #21152 2012-11-06 01:01:52 +00:00
users.php i18n: Fix the usage of sprintf replacements in the user management admin page. See #22260. 2012-10-23 11:32:41 +00:00
widgets.php New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00