mirror of
git://develop.git.wordpress.org/
synced 2025-02-28 02:22:25 +01:00
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:
parent
4507ff0b4a
commit
1568ee99ee
@ -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
|
||||
------------------------------------------------------------------------------*/
|
||||
|
@ -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)
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user