Skip to content

Commit

Permalink
Revert UI for caption fields to pre-[19982], keeping textarea for the…
Browse files Browse the repository at this point in the history
… caption field. No monospaced font, revert label. see #18311.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
nacin committed Mar 24, 2012
1 parent 89c3b58 commit 9cca792
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions wp-admin/css/wp-admin.dev.css
Original file line number Diff line number Diff line change
Expand Up @@ -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
------------------------------------------------------------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/includes/media.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
),
Expand Down

0 comments on commit 9cca792

Please sign in to comment.