Wordpress/wp-includes/js/tinymce
Andrew Nacin 1cc12103f5 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: https://develop.svn.wordpress.org/trunk@23083 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-06 00:41:06 +00:00
..
langs Alternative Text, not Alternate Text. props SergeyBiryukov. fixes #21176. 2012-12-03 19:21:34 +00:00
plugins Restore the Description field to the media UI in 3.5. 2012-12-06 00:41:06 +00:00
themes/advanced TinyMCE: fix styles, add 2x background icons and load buttons.css in the Edit Image modal, remove wp-view styles from content.css, add 2x icons for the popup buttons (for editing image and gallery), fixes #22447, see #21019 2012-11-14 23:21:59 +00:00
utils TinyMCE 3.4.5, fixes #18107 2011-09-09 20:08:40 +00:00
license.txt Fix EOL for newly added files 2011-04-11 18:23:51 +00:00
mark_loaded_src.js Correct [19952]. see #19592. 2012-02-25 04:15:08 +00:00
tiny_mce_popup.js Update TinyMCE to 3.5.4.1, fixes #21173 2012-07-07 16:22:53 +00:00
tiny_mce.js TinuMCE: update to 3.5.7, fixes #21173 2012-11-12 21:20:46 +00:00
wp-mce-help.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
wp-tinymce.js.gz Compress scripts/styles: 3.5-RC3-23047. TinyMCE updated. 2012-12-04 22:44:27 +00:00
wp-tinymce.php Add comments to time intervals we cannot express with the constants. Fix a comment. props SergeyBiryukov. fixes #20987. 2012-11-10 18:13:09 +00:00