Revert UI for caption fields to pre-[19982], keeping textarea for the caption field. No monospaced font, revert label. see #18311.

git-svn-id: https://develop.svn.wordpress.org/trunk@20282 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-03-24 13:37:42 +00:00
parent 4507ff0b4a
commit 1568ee99ee
2 changed files with 1 additions and 8 deletions

View File

@ -3657,13 +3657,6 @@ abbr.required {
padding-left: 15px;
}
.media-item .post_excerpt textarea,
.media-item .post_content textarea,
.media-item textarea#caption {
min-height: 5em;
font-family: Consolas, Monaco, monospace;
}
/*------------------------------------------------------------------------------
14.1 - Media Library
------------------------------------------------------------------------------*/

View File

@ -951,7 +951,7 @@ function get_attachment_fields_to_edit($post, $errors = null) {
),
'image_alt' => array(),
'post_excerpt' => array(
'label' => __('Default Caption'),
'label' => __('Caption'),
'input' => 'html',
'html' => wp_caption_input_textarea($edit_post)
),