WordPress/wp-admin
Andrew Nacin 173806d7a1 Restore the Description field to the media UI in 3.5.
We tried in vain -- a noble but ultimately failed effort -- to reduce the number of fields for attachments from four (title, caption, alt, description) to one (caption for images, title otherwise). Alternative text needed to stay for accessibility reasons, of course.

Eventually title returned due to heavy plugin reliance. Description is too used by too many plugins (often times incorrectly -- the caption is more likely the proper field), hence its less-than-triumphant return today.

Version 3.5 has tried to streamline media in a number of ways. Removing fields may have been too much at once, as it forced not only a user interface change, but a paradigm change as well.

Finally, on upload we populate the description field with IPTC/EXIF captions, rather than the caption field. See #22768, this should be fixed. For now, Description stays.

This commit also restores 'Title' attribute editing to the main tab of the Edit Image dialog. The "Title" field no longer populates title attributes for <img> tags by design (for accessibility and other purposes, see #18984). So, here is a more obvious 'workaround' for the tooltip community.

Finally, this:
 * Cleans up the post.php attachment editor, including by showing a prettier form of the mime type.
 * Enables plugins to specifically hide attachment_fields_to_edit from either post.php (where you can create meta boxes) or the modal (which you may not want to clutter), for compatibility reasons.
 * Hides the 'Describe this file...' placeholder when a field is read-only in the modal.

props nacin, helenyhou.
fixes #22759.



git-svn-id: http://core.svn.wordpress.org/trunk@23083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-06 00:41:06 +00:00
..
css Restore the Description field to the media UI in 3.5. 2012-12-06 00:41:06 +00:00
images Update the 'Retina Ready' screenshot on the about page to reflect version 3.5, Twenty Twelve, and such. It's the little things. props lessbloat. fixes #22455. 2012-12-04 15:04:19 +00:00
includes Restore the Description field to the media UI in 3.5. 2012-12-06 00:41:06 +00:00
js Compress scripts/styles: 3.5-RC3-23059. 2012-12-05 02:58:34 +00:00
maint Scope button classes so they can be used on the frontend without interfering with theme styles. 2012-11-30 13:40:59 +00:00
network Scope button classes so they can be used on the frontend without interfering with theme styles. 2012-11-30 13:40:59 +00:00
user
about.php Reorganize and polish the About WordPress 3.5 screen. Offer strings for translation. 2012-11-28 21:00:09 +00:00
admin-ajax.php Allow the 'Uploaded to this post' view to be sorted, saving the resulting order as menu_order. 2012-12-02 16:06:31 +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 Move utils.js (cookie and user setting functions) to wp-includes to enable front-end use. 2012-12-04 19:29:56 +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 Verify attachment parent during upload. 2012-11-29 02:39:34 +00:00
comment.php
credits.php Reorganize and polish the About WordPress 3.5 screen. Offer strings for translation. 2012-11-28 21:00:09 +00:00
custom-background.php Fix various typos and omissions across a number of help tabs. props DrewAPicture, Ipstenu. see #22451. 2012-11-22 08:45:15 +00:00
custom-header.php Fix various typos and omissions across a number of help tabs. props DrewAPicture, Ipstenu. see #22451. 2012-11-22 08:45:15 +00:00
customize.php Scope button classes so they can be used on the frontend without interfering with theme styles. 2012-11-30 13:40:59 +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 Restore the Description field to the media UI in 3.5. 2012-12-06 00:41:06 +00:00
edit-form-comment.php Remove nearly all tabindex attributes from the admin, leaving them only where absolutely necessary (for now that's only the toolbar). 2012-07-24 00:15:15 +00:00
edit-link-form.php Remove nearly all tabindex attributes from the admin, leaving them only where absolutely necessary (for now that's only the toolbar). 2012-07-24 00:15:15 +00:00
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 Fix various typos and omissions across a number of help tabs. props DrewAPicture, Ipstenu. see #22451. 2012-11-22 08:45:15 +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 Reorganize and polish the About WordPress 3.5 screen. Offer strings for translation. 2012-11-28 21:00:09 +00:00
import.php Pull the list of popular importers from WordPress.org. 2012-11-17 07:20:04 +00:00
index.php Use the create_posts post type cap in more places. Remove the janky create_posts meta cap. see #16714. 2012-11-28 22:28:20 +00:00
install-helper.php
install.php Scope button classes so they can be used on the frontend without interfering with theme styles. 2012-11-30 13:40:59 +00:00
link-add.php
link-manager.php
link-parse-opml.php
link.php Show a better message ondmins on link-manager.php, link-add.php, link.php when links are disabled. 2012-11-27 00:20:27 +00:00
load-scripts.php Script loader: Chunk the script names as passed to load-scripts.php into 128-character pieces. Avoids hitting a limit for the length of a single variable, such as suhosin.get.max_value_length which defaults to 512. fixes #22757. 2012-12-05 18:57:56 +00:00
load-styles.php Fix minified RTL style loading via load-styles.php. props ocean90. fixes #22482. 2012-11-16 22:18:33 +00:00
media-new.php Don't label the form on media-new.php an upload form to avoid esoteric breakage. In past lives, the form has been more complicated than the standard .wp-upload-form use case, with submit buttons that are not just for the uploader, which means we really can't disable them here. 2012-11-27 22:41:15 +00:00
media-upload.php Split media-new.php and media-upload.php into distinct files. 2012-11-21 12:19:40 +00:00
media.php
menu-header.php Pinking shears 2012-11-17 15:11:29 +00:00
menu.php Use the create_posts post type cap in more places. Remove the janky create_posts meta cap. see #16714. 2012-11-28 22:28:20 +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 Fix various typos and omissions across a number of help tabs. props DrewAPicture, Ipstenu. see #22451. 2012-11-22 08:45:15 +00:00
network.php When creating a network, use get_home_path() to calculate where .htaccess (or web.config) lives. fixes #22639. 2012-12-03 03:42:02 +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 Update permalink structure input when selecting a structure with the radio buttons. 2012-11-30 00:01:26 +00:00
options-reading.php Revert page on front changes. Reverts [22127] [22129] [22135] [22136]. see #16379. 2012-11-19 01:28:32 +00:00
options-writing.php Add back Update Services help. props DrewAPicture, fixes #22365. 2012-11-05 21:38:48 +00:00
options.php Revert page on front changes. Reverts [22127] [22129] [22135] [22136]. see #16379. 2012-11-19 01:28:32 +00:00
plugin-editor.php Move the description for tabbing out of the plugin and theme editors textareas to the Help tab, fixes #21347 2012-07-27 16:49:48 +00:00
plugin-install.php Pinking shears 2012-11-17 15:11:29 +00:00
plugins.php Show plugin activation message when activating a network only plugin on a single site installation. 2012-11-27 16:08:35 +00:00
post-new.php No AYS or autosave for attachments on post.php. Reverts part of [22725]. fixes #22491. 2012-11-27 02:02:32 +00:00
post.php Don't load autosave.js on the attachment editing screen, add simple AYS on unload if there are changes, props helenyhou, fixes #22491 2012-11-20 19:46:38 +00:00
press-this.php Scope button classes so they can be used on the frontend without interfering with theme styles. 2012-11-30 13:40:59 +00:00
profile.php
revision.php
setup-config.php Scope button classes so they can be used on the frontend without interfering with theme styles. 2012-11-30 13:40:59 +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 Scope button classes so they can be used on the frontend without interfering with theme styles. 2012-11-30 13:40:59 +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 As wp_dropdown_roles() only prints editable roles, ensure that the 2012-11-19 19:23:54 +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 Fix various typos and omissions across a number of help tabs. props DrewAPicture, Ipstenu. see #22451. 2012-11-22 08:45:15 +00:00