WordPress.org

Make WordPress Core

Changeset 26813


Ignore:
Timestamp:
12/09/2013 12:42:56 AM (7 years ago)
Author:
iammattthomas
Message:

Expand the Quick Draft section by default. Fixes #26463, props bassgang.

Location:
trunk/src/wp-admin
Files:
3 edited

Legend:

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

    r26811 r26813  
    30433043}
    30443044
    3045 form.initial-form label.prompt {
    3046     font-style: italic;
    3047 }
    3048 
    3049 form.initial-form input#title {
    3050     height: 3em;
    3051 }
    3052 
    30533045form.initial-form.quickpress-open label.prompt {
    30543046    font-style: normal;
     
    30883080    font-size: 1.1em;
    30893081    padding: 7px 8px;
    3090 }
    3091 
    3092 .initial-form #description-wrap,
    3093 .initial-form p.submit {
    3094     display: none;
    30953082}
    30963083
  • trunk/src/wp-admin/includes/dashboard.php

    r26758 r26813  
    345345
    346346        <div class="input-text-wrap" id="title-wrap">
    347             <label class="screen-reader-text prompt" for="title" id="title-prompt-text"><?php _e( 'What&#8217;s on your mind?' ); ?></label>
     347            <label class="screen-reader-text prompt" for="title" id="title-prompt-text"><?php echo apply_filters( 'enter_title_here', __( 'Title' ), $post ); ?></label>
    348348            <input type="text" name="post_title" id="title" autocomplete="off" />
    349349        </div>
    350350
    351351        <div class="textarea-wrap" id="description-wrap">
    352             <label class="screen-reader-text prompt" for="content" id="content-prompt-text"><?php _e( 'Enter a description' ); ?></label>
     352            <label class="screen-reader-text prompt" for="content" id="content-prompt-text"><?php _e( 'What&#8217;s on your mind?' ); ?></label>
    353353            <textarea name="content" id="content" class="mceEditor" rows="3" cols="15"></textarea>
    354354        </div>
  • trunk/src/wp-admin/js/dashboard.js

    r26564 r26813  
    115115
    116116        $('#quick-press').on( 'click focusin', function() {
    117             $(this).addClass('quickpress-open');
    118             $('#description-wrap, p.submit').slideDown(200);
    119117            wpActiveEditor = 'content';
    120118        });
Note: See TracChangeset for help on using the changeset viewer.