Make WordPress Core

Changeset 20282


Ignore:
Timestamp:
03/24/2012 01:37:42 PM (13 years ago)
Author:
nacin
Message:

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

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/wp-admin.dev.css

    r20279 r20282  
    36583658}
    36593659
    3660 .media-item .post_excerpt textarea,
    3661 .media-item .post_content textarea,
    3662 .media-item textarea#caption {
    3663     min-height: 5em;
    3664     font-family: Consolas, Monaco, monospace;
    3665 }
    3666 
    36673660/*------------------------------------------------------------------------------
    36683661  14.1 - Media Library
  • trunk/wp-admin/includes/media.php

    r20247 r20282  
    952952        'image_alt'   => array(),
    953953        'post_excerpt' => array(
    954             'label'      => __('Default Caption'),
     954            'label'      => __('Caption'),
    955955            'input'      => 'html',
    956956            'html'       => wp_caption_input_textarea($edit_post)
Note: See TracChangeset for help on using the changeset viewer.