WordPress/wp-admin
Michael Adams 699c377856 Meta Boxes: Preserve radio inputs' state when sorting metaboxes.
When sorting a metabox, a clone of that metabox is created as a drag/drop "helper".
Previously, any checked radio input in the original metabox would become unchecked, when its clone "helper" was inserted into the DOM
(since only one radio within a set of radios of the same name can be checked).

Continued use of the clone helper is important so that the element being dragged isn't subject to the click and other event handlers attached to the real metabox,
so we can't just switch to dragging around the real metabox.  See, for example, comment:10:ticket:16972.

Preserve the radios' state via some name attribute trickery.

Fixes #16972

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


git-svn-id: http://core.svn.wordpress.org/trunk@35773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-06 22:23:49 +00:00
..
css Notices: improve styling consistency of links within notices. 2015-12-06 22:00:26 +00:00
images Squish that .png a bit more. See [32994]. 2015-06-30 22:04:25 +00:00
includes Plugins: Provide a link to searching the plugin directory when no search results are found. 2015-12-06 22:23:25 +00:00
js Meta Boxes: Preserve radio inputs' state when sorting metaboxes. 2015-12-06 22:23:49 +00:00
maint Adjust some of the strings added in [35508]. 2015-11-04 21:32:26 +00:00
network Multisite: Clarify purpose of hook from [35786] and match our naming convention. 2015-12-06 20:32:24 +00:00
user Ensure the requires for the admin bootstrap are documented in all wp-admin/user/ files. 2014-11-04 16:32:22 +00:00
about.php About Page: Add the WordPress 4.4 tagline. 2015-12-06 17:52:25 +00:00
admin-ajax.php Themes: Add a Favorites tab to the Add Themes screen. 2015-11-04 21:49:26 +00:00
admin-footer.php Add `@global` annotations for `wp-admin/*`. 2015-05-28 21:41:30 +00:00
admin-functions.php
admin-header.php Correct the title used on the user dashboard. 2015-06-24 00:37:28 +00:00
admin-post.php Superglobals: Revert [34059] until further notice. 2015-09-17 12:33:26 +00:00
admin.php Use `wp_installing()` instead of `WP_INSTALLING` constant. 2015-10-05 15:06:28 +00:00
async-upload.php Superglobals: Revert [34059] until further notice. 2015-09-17 12:33:26 +00:00
comment.php I18N: Remove `<a>` tag from translatable string in `wp-admin/comment.php`. 2015-11-18 17:33:30 +00:00
credits.php Help/About: unify tab styling. 2015-11-11 21:54:26 +00:00
custom-background.php `callback` is not a valid type in PHP, PSR-5, or phpDocumentor. `callable` should be used instead. 2015-09-25 23:58:25 +00:00
custom-header.php Accessibility: add missing `alt` attributes to a gaggle of `<img>`s. 2015-11-07 16:12:27 +00:00
customize.php Customize: Reduce peak memory usage by JSON-encoding settings and controls individually. 2015-09-17 19:42:26 +00:00
edit-comments.php Add translator comments for strings in `wp-admin/edit-comments.php`. 2015-11-06 00:23:25 +00:00
edit-form-advanced.php Revert [34917] until the broken test is fixed. 2015-10-08 01:04:25 +00:00
edit-form-comment.php Bump the "Status" H3 heading to H2 on the Edit Comment screen for better accessibility. 2015-10-14 17:44:24 +00:00
edit-link-form.php Bump H3 headings to H2 on the legacy Link Manager screen for better accessibility. 2015-10-14 17:32:24 +00:00
edit-tag-form.php When applying the `'editable_slug'` filter, add a second param that provides more context. 2015-09-19 05:49:24 +00:00
edit-tags.php After [34891], rename new post type and taxonomy label keys to match the default strings. 2015-10-23 16:48:25 +00:00
edit.php After [34891], rename new post type and taxonomy label keys to match the default strings. 2015-10-23 16:48:25 +00:00
export.php Show user_login in Dashboard user dropdowns. 2015-12-06 20:57:26 +00:00
freedoms.php Help/About: unify tab styling. 2015-11-11 21:54:26 +00:00
import.php Proper heading for admin screens. 2015-06-27 15:41:25 +00:00
index.php Replace some hyphens with `&mdash;`s in admin help tabs. 2015-08-19 04:53:25 +00:00
install-helper.php Docs: Add missing descriptions for the `$wpdb` global in DocBlocks all the places. 2015-10-14 23:44:25 +00:00
install.php Adjust heading structure for pages using wp-admin/css/install.css 2015-11-04 18:00:24 +00:00
link-add.php
link-manager.php List Tables/WP_Screen: in `WP_Screen`, add methods to store, retrieve, and render screen reader text, primarily used by list table screens. 2015-10-07 01:28:25 +00:00
link-parse-opml.php Add `@global` annotations for `wp-admin/*`. 2015-05-28 21:41:30 +00:00
link.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
load-scripts.php Create a new file, `wp-admin/includes/noop.php`, which loads all of the noop functions for `load-script|styles.php` and is only loaded by those files. DRYs in the process. 2015-09-11 05:04:23 +00:00
load-styles.php Create a new file, `wp-admin/includes/noop.php`, which loads all of the noop functions for `load-script|styles.php` and is only loaded by those files. DRYs in the process. 2015-09-11 05:04:23 +00:00
media-new.php `media-new.php`, when using the browser uploader, if the result of uploading is a `WP_Error` - `wp_die()` with the error, instead of redirecting with a generic error. 2015-09-10 17:18:24 +00:00
media-upload.php Provide more helful feedback than just "Cheatin' uh?" for permission errors in `wp-admin/media-upload.php`. 2015-09-02 16:21:21 +00:00
media.php Use a less element-specific class name for links within page titles. 2015-07-03 16:42:24 +00:00
menu-header.php Docs: Document declaration of the `$submenu_file` global in wp-admin/menu-header.php. 2015-10-01 01:48:25 +00:00
menu.php Eliminate a db query when building the admin menu for non-privileged users. 2015-11-18 21:34:26 +00:00
moderation.php
ms-admin.php
ms-delete-site.php Trim trailing space from string in site delete confirmation 2015-07-01 16:31:25 +00:00
ms-edit.php
ms-options.php
ms-sites.php
ms-themes.php
ms-upgrade-network.php
ms-users.php
my-sites.php My Sites: Make "Create a New Site" link consistent with other "Add New" links. 2015-10-09 03:50:24 +00:00
nav-menus.php Customizer: Use correct context and translator comments for menu location strings. 2015-11-20 17:46:25 +00:00
network.php Network Setup: don't use `<code>` in translation strings in `wp-admin/network` files. 2015-09-18 18:18:27 +00:00
options-discussion.php Don't force comment pagination. 2015-10-21 16:26:42 +00:00
options-general.php Revert [35336] and [35337]. 2015-11-18 20:30:25 +00:00
options-head.php
options-media.php Remove `<code>` tag from translatable string in `wp-admin/options-media.php`. 2015-11-06 00:28:25 +00:00
options-permalink.php Permalinks: Use "Plain" instead of "None" for the `?p-###`, which is still a valid permalink structure, just not a "pretty" one. 2015-11-10 22:19:27 +00:00
options-reading.php Move ad hoc Options functions to `wp-admin/includes/options.php`: 2015-09-10 21:45:24 +00:00
options-writing.php Revert [34778], continue using `_site_option()` for the current network. 2015-10-07 17:11:25 +00:00
options.php Revert [35336] and [35337]. 2015-11-18 20:30:25 +00:00
plugin-editor.php Replace `get_bloginfo( 'wpurl' )` with `admin_url()` in plugin editor. 2015-10-13 02:05:24 +00:00
plugin-install.php List Tables/WP_Screen: in `WP_Screen`, add methods to store, retrieve, and render screen reader text, primarily used by list table screens. 2015-10-07 01:28:25 +00:00
plugins.php Replace `get_bloginfo( 'wpurl' )` with `admin_url()` for plugin activation error message. 2015-10-13 02:12:24 +00:00
post-new.php Provide more helpful feedback than just "Cheatin' uh?" for permission errors in `wp-admin/post-new.php`. 2015-09-02 18:36:22 +00:00
post.php Dashboard: use the `create_posts` cap on the post type object when determining if the Quick Press widget can be displayed. 2015-10-20 05:49:24 +00:00
press-this.php Provide more helpful feedback than just "Cheatin' uh?" for permission errors in `wp-admin/press-this.php`. 2015-09-02 18:38:21 +00:00
profile.php
revision.php Revisions screen: change language from "Return to post editor" to "Return to editor" - more generic for usage by custom post types. 2015-09-09 03:23:23 +00:00
setup-config.php Remove `<code>` tags from translatable strings in `wp-admin/setup-config.php`. 2015-11-06 17:22:26 +00:00
theme-editor.php Theme Editor: Repurpose the `'wp_theme_editor_filetypes'` filter added in [35134] to actually filter file types instead of files. 2015-10-15 02:20:24 +00:00
theme-install.php Themes: Add a Favorites tab to the Add Themes screen. 2015-11-04 21:49:26 +00:00
themes.php Customize: Return user to referring URL when leaving Customizer in absence of `return` query param. 2015-11-01 06:40:28 +00:00
tools.php Bump H3 headings to H2 on Tools screen for better accessibility. 2015-08-31 03:32:21 +00:00
update-core.php Accessibility: add missing `alt` attributes to a gaggle of `<img>`s. 2015-11-07 16:12:27 +00:00
update.php Plugins: Don't request all fields via `plugins_api( 'plugin_information' )` for plugin installs and update checks. 2015-09-26 15:50:25 +00:00
upgrade-functions.php
upgrade.php Adjust heading structure for pages using wp-admin/css/install.css 2015-11-04 18:00:24 +00:00
upload.php List Tables/WP_Screen: in `WP_Screen`, add methods to store, retrieve, and render screen reader text, primarily used by list table screens. 2015-10-07 01:28:25 +00:00
user-edit.php Users: Only show the profile picture if 'Show Avatars' option in Discussion Settings is enabled. 2015-11-11 19:41:25 +00:00
user-new.php Users: Allow to create users without sending an email to the new user. 2015-11-25 22:38:29 +00:00
users.php Show user_login in Dashboard user dropdowns. 2015-12-06 20:57:26 +00:00
widgets.php Widgets: add a button to delete all inactive widgets simultaneously for better UX. 2015-10-21 05:23:26 +00:00