WordPress/wp-admin/includes
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
..
admin.php Load the new admin and network admin mo files, if present. see #19852 2012-01-27 22:19:56 +00:00
ajax-actions.php Restore the Description field to the media UI in 3.5. 2012-12-06 00:41:06 +00:00
bookmark.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
class-ftp-pure.php
class-ftp-sockets.php
class-ftp.php WP_Filesystem: PemFTP: Detect dl() being disabled in order to avoid any fatals which may be produced when the Sockets extension is not available. Props to kurtpayne for initial patch, Fixes #20187 2012-03-29 02:15:06 +00:00
class-pclzip.php Associate subdirector of whitespace trims trailing whites with pinking shears. 2009-10-15 20:26:21 +00:00
class-wp-comments-list-table.php Kill use of colons in class names, props SergeyBiryukov, fixes #21152 2012-11-06 01:01:52 +00:00
class-wp-filesystem-base.php Make WP_Filesystem_Base::getnumchmodfromh() return the expected values when the executable bit is set in the input. Props Keruspe. Fixes #20365 2012-09-29 01:33:15 +00:00
class-wp-filesystem-direct.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
class-wp-filesystem-ftpext.php WP_Filesystem: Return symlinked directory names correctly, previously the FTP extensions would return it as 'source -> dest' instead of simply 'source'. Props kurtpayne. Fixes #17846 2012-07-06 11:39:39 +00:00
class-wp-filesystem-ftpsockets.php WP_Filesystem: Return symlinked directory names correctly, previously the FTP extensions would return it as 'source -> dest' instead of simply 'source'. Props kurtpayne. Fixes #17846 2012-07-06 11:39:39 +00:00
class-wp-filesystem-ssh2.php WP_Filesystem_*::mkdir() untrailingslash path consistently, don't waste time attempting to create an "empty" path. See #15575. Props lordandrei and SergeyBiryukov for initial patches. 2011-10-13 10:43:38 +00:00
class-wp-importer.php Reduce use of global. Use get_blog_details() instead. fixes #22090 2012-10-04 12:40:09 +00:00
class-wp-links-list-table.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
class-wp-list-table.php Kill use of colons in class names, props SergeyBiryukov, fixes #21152 2012-11-06 01:01:52 +00:00
class-wp-media-list-table.php Media list table: Fix the categories column, hidden thanks to a typo. props eddiemoya, fixes #22764. see #21240, #21391. 2012-12-05 22:49:51 +00:00
class-wp-ms-sites-list-table.php Trailing slash the URL for the 'Visit' link in network/sites.php. 2012-10-11 17:48:42 +00:00
class-wp-ms-themes-list-table.php Remove methods that override but do nothing. props jeremyfelt for initial patch. fixes #22368. 2012-11-06 00:52:49 +00:00
class-wp-ms-users-list-table.php Introduce get_edit_user_link(). Props scribu, georgestephanis, johnbillion. fixes #14787 see #20307 2012-07-30 18:30:03 +00:00
class-wp-plugin-install-list-table.php Browse and install your wordpress.org plugin favorites from the plugin installer. props Otto42, Japh, DrewAPicture. fixes #22002. 2012-09-27 00:47:01 +00:00
class-wp-plugins-list-table.php Adjust size of the 'Clear List' list table button. Fix placement of other buttons next to bulk actions. props johnbillion, SergeyBiryukov, fixes #22621. 2012-11-28 22:20:45 +00:00
class-wp-posts-list-table.php More retina backgrounds and bits, props saracannon, empireoflight and lessbloat, see #21019 2012-11-07 20:54:08 +00:00
class-wp-terms-list-table.php New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
class-wp-theme-install-list-table.php New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
class-wp-themes-list-table.php Retina/span spinner cleanup. Restores CSS classes no longer used by core. props lessbloat. fixes #21456. 2012-10-10 20:34:19 +00:00
class-wp-upgrader.php New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
class-wp-users-list-table.php Use correct variable. see #17860. 2012-11-19 21:43:47 +00:00
comment.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
continents-cities.php Give continents-cities their own textdomain. Props nbachiyski, Denis-de-Bernardy . fixes #9794 2009-05-14 20:05:25 +00:00
dashboard.php Translate the 'First Steps with WordPress' Codex link. props SergeyBiryukov, fixes #22767. 2012-12-05 22:51:24 +00:00
deprecated.php Deprecate wp_create_thumbnail(). props obenland. fixes #21555. 2012-09-23 17:48:24 +00:00
export.php Export: Ignore auto-drafts when building the list of users for the export file. Fixes #21960. 2012-09-21 21:48:52 +00:00
file.php Correct get_home_path() for cases where WordPress is installed in a subdirectory called /wp/, previously it would match on /wp-admin instead of /wp causing an incorrect return path. Props SergeyBiryukov. Fixes #20449 2012-11-21 22:39:59 +00:00
image-edit.php In wp_image_editor(), use wp_image_editor_supports() to check for rotation capabilities rather than directly checking the existence of the imagerotate function. 2012-11-27 14:36:55 +00:00
image.php WP_Image_Editor: the last stand. 2012-11-22 09:52:16 +00:00
import.php Pull the list of popular importers from WordPress.org. 2012-11-17 07:20:04 +00:00
list-table.php Only pass the current screen to the list table constructor when we have a screen to work with. This is not the case for admin-ajax requests. fixes #22570. 2012-11-26 03:39:29 +00:00
media.php Restore the Description field to the media UI in 3.5. 2012-12-06 00:41:06 +00:00
menu.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
meta-boxes.php Restore the Description field to the media UI in 3.5. 2012-12-06 00:41:06 +00:00
misc.php Consistent escaping in admin_color_scheme_picker(). Props johnjamesjacoby. fixes #22326 2012-11-05 18:16:23 +00:00
ms-deprecated.php Remove ms-files.php rewriting from WordPress multisite. fixes #19235. 2012-09-11 22:22:20 +00:00
ms.php Make is_upload_space_available() available for front end page loads. Fixes fatal error when calling wp_editor() from the front end. 2012-11-26 14:42:43 +00:00
nav-menu.php Kill use of colons in class names, props SergeyBiryukov, fixes #21152 2012-11-06 01:01:52 +00:00
plugin-install.php Forms with the class .wp-upload-form will now have their submit button disabled until a file is selected. props kovshenin, helenyhou, lessbloat, SergeyBiryukov, tommcfarlin. fixes #20855. 2012-11-07 23:54:03 +00:00
plugin.php HiDPI versions of the generic menu page icon. props empireoflight, lessbloat. see #21019. 2012-11-06 00:25:18 +00:00
post.php Bring Featured Images back into the main media dialog. 2012-12-03 02:38:10 +00:00
schema.php Comment that the add_users capability was never used and has its days numbered. see #16719. 2012-10-25 20:18:24 +00:00
screen.php New design and content for the welcome panel. First pass. 2012-09-26 19:44:43 +00:00
taxonomy.php Introduce term_is_ancestor_of(). Finish taxonomy support for wp_insert_category(). Props garyc40. fixes #15581 2012-01-04 22:44:19 +00:00
template.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-install.php Forms with the class .wp-upload-form will now have their submit button disabled until a file is selected. props kovshenin, helenyhou, lessbloat, SergeyBiryukov, tommcfarlin. fixes #20855. 2012-11-07 23:54:03 +00:00
theme.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
update-core.php Replace the hard coded version and PHP/MySQL requirements in update-core.php by pulling in the new version.php file during installation. Fixes #22015 #11639. See #21789 2012-10-14 03:47:36 +00:00
update.php Show the update nag in the network admin. 2012-11-16 21:52:48 +00:00
upgrade.php Fix disabling of the link manager on upgrade from 3.4.2 when there are no links. 2012-11-29 00:37:30 +00:00
user.php Consolidate some strings. Props pavelevap, SergeyBiryukov. see #21728 2012-10-05 19:04:34 +00:00
widgets.php Revert [22387]. see #14466. see #22374. 2012-11-06 22:36:24 +00:00