Wordpress/wp-includes/js
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
..
crop Use ImageOptim to losslessly smush our images. About half a MB in savings! fixes #22381. props waldojaquith 2012-11-07 18:49:10 +00:00
imgareaselect Use ImageOptim to losslessly smush our images. About half a MB in savings! fixes #22381. props waldojaquith 2012-11-07 18:49:10 +00:00
jcrop Remove svn:executable property from SimplePie and jcrop files 2012-11-21 22:18:48 +00:00
jquery jQuery UI 1.9.2. props ocean90. fixes #22563. 2012-11-26 01:20:40 +00:00
plupload Compress scripts/styles: 3.5-RC3-23080. 2012-12-05 21:22:59 +00:00
swfupload
thickbox Introduce a new, cross-browser HiDPI CSS @media rule to be used everywhere. 2012-11-17 06:50:08 +00:00
tinymce Restore the Description field to the media UI in 3.5. 2012-12-06 00:41:06 +00:00
admin-bar.js Toolbar: sync jQuery and non-jQuery JS behaviour when there's a hash in the url, props tlovett1, fixes #22520 2012-11-20 20:45:03 +00:00
admin-bar.min.js Compress scripts/styles: 3.5-beta3-22729. 2012-11-20 20:58:28 +00:00
autosave.js Autosave: Properly convert undefined fields to empty strings. This bug could cause issues if a post type didn't support the title and/or editor. see #22491. 2012-11-21 21:04:04 +00:00
autosave.min.js Compress scripts/styles: 3.5-beta3-22801. 2012-11-21 22:58:36 +00:00
backbone.min.js
colorpicker.js Pinking shears 2012-11-17 15:11:29 +00:00
colorpicker.min.js
comment-reply.js
comment-reply.min.js
customize-base.js
customize-base.min.js
customize-loader.js Customizer: Track the link that was used to open the customizer and restore focus on close. props lessbloat. fixes #21283. 2012-11-21 13:17:10 +00:00
customize-loader.min.js Compress scripts/styles: 3.5-beta3-22763. 2012-11-21 14:58:31 +00:00
customize-preview.js
customize-preview.min.js
hoverIntent.js
hoverIntent.min.js
json2.js
json2.min.js
mce-view.js Media: Restore 3.4 editor behavior and remove TinyMCE views. 2012-11-14 07:17:22 +00:00
mce-view.min.js Compress scripts/styles: 3.5-beta3-22572. TinyMCE updated. 2012-11-14 15:00:31 +00:00
media-editor.js Restore the Description field to the media UI in 3.5. 2012-12-06 00:41:06 +00:00
media-editor.min.js Compress scripts/styles: 3.5-RC3-23073. 2012-12-05 10:58:32 +00:00
media-models.js Media models: Trac and ignore deleted attachments. 2012-12-05 02:31:41 +00:00
media-models.min.js Compress scripts/styles: 3.5-RC3-23059. 2012-12-05 02:58:34 +00:00
media-views.js Restore the Description field to the media UI in 3.5. 2012-12-06 00:41:06 +00:00
media-views.min.js Compress scripts/styles: 3.5-RC3-23078. 2012-12-05 19:22:54 +00:00
quicktags.js
quicktags.min.js
shortcode.js Media: Restore 3.4 editor behavior and remove TinyMCE views. 2012-11-14 07:17:22 +00:00
shortcode.min.js Compress scripts/styles: 3.5-beta3-22572. TinyMCE updated. 2012-11-14 15:00:31 +00:00
swfobject.js
tw-sack.js
tw-sack.min.js
underscore.min.js
utils.js Move utils.js (cookie and user setting functions) to wp-includes to enable front-end use. 2012-12-04 19:29:56 +00:00
utils.min.js Move utils.js (cookie and user setting functions) to wp-includes to enable front-end use. 2012-12-04 19:29:56 +00:00
wp-ajax-response.js
wp-ajax-response.min.js
wp-list-revisions.js
wp-list-revisions.min.js
wp-lists.js Kill use of colons in class names, props SergeyBiryukov, fixes #21152 2012-11-06 01:01:52 +00:00
wp-lists.min.js Compress scripts/styles: 3.5-beta2-22407. 2012-11-06 22:58:35 +00:00
wp-pointer.js
wp-pointer.min.js
wplink.js
wplink.min.js