WordPress/wp-includes/js/tinymce/plugins
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
..
directionality Update TinyMCE to 3.5.6, see #21173 2012-08-18 23:24:27 +00:00
fullscreen TinuMCE: update to 3.5.7, fixes #21173 2012-11-12 21:20:46 +00:00
inlinepopups TinuMCE: update to 3.5.7, fixes #21173 2012-11-12 21:20:46 +00:00
media TinuMCE: update to 3.5.7, fixes #21173 2012-11-12 21:20:46 +00:00
paste TinuMCE: update to 3.5.7, fixes #21173 2012-11-12 21:20:46 +00:00
spellchecker Update TinyMCE Spellchecker plugin to 2.0.6.1. 2012-11-29 02:45:16 +00:00
tabfocus Update TinyMCE to 3.5.6, see #21173 2012-08-18 23:24:27 +00:00
wordpress Compress scripts/styles: 3.5-RC3-23047. TinyMCE updated. 2012-12-04 22:44:27 +00:00
wpdialogs Compress scripts/styles: 3.5-beta2-22515. 2012-11-09 22:58:35 +00:00
wpeditimage Restore the Description field to the media UI in 3.5. 2012-12-06 00:41:06 +00:00
wpfullscreen Set svn:eol-style to native for all the files 2012-11-21 22:31:55 +00:00
wpgallery Compress scripts/styles: 3.5-RC2-22953. TinyMCE updated. 2012-11-30 15:20:51 +00:00
wplink Compress scripts/styles: 3.5-alpha-21269. TinyMCE updated. 2012-07-13 00:58:19 +00:00
wpview Compress scripts/styles: 3.5-beta1-22223. TinyMCE updated. 2012-10-12 22:58:48 +00:00