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

git-svn-id: http://svn.automattic.com/wordpress/trunk@20282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-03-24 13:37:42 +00:00
parent 89c3b58589
commit 9cca792f6c
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)
),