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

git-svn-id: https://develop.svn.wordpress.org/trunk@26813 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Thomas 2013-12-09 00:42:56 +00:00
parent 55f9e6b106
commit 9439bb7b4f
3 changed files with 2 additions and 17 deletions

View File

@ -3042,14 +3042,6 @@ input#save-post {
float: left;
}
form.initial-form label.prompt {
font-style: italic;
}
form.initial-form input#title {
height: 3em;
}
form.initial-form.quickpress-open label.prompt {
font-style: normal;
}
@ -3089,11 +3081,6 @@ form.initial-form.quickpress-open input#title {
padding: 7px 8px;
}
.initial-form #description-wrap,
.initial-form p.submit {
display: none;
}
.input-text-wrap,
.textarea-wrap {
position: relative;

View File

@ -344,12 +344,12 @@ function wp_dashboard_quick_press( $error_msg = false ) {
<?php endif; ?>
<div class="input-text-wrap" id="title-wrap">
<label class="screen-reader-text prompt" for="title" id="title-prompt-text"><?php _e( 'What&#8217;s on your mind?' ); ?></label>
<label class="screen-reader-text prompt" for="title" id="title-prompt-text"><?php echo apply_filters( 'enter_title_here', __( 'Title' ), $post ); ?></label>
<input type="text" name="post_title" id="title" autocomplete="off" />
</div>
<div class="textarea-wrap" id="description-wrap">
<label class="screen-reader-text prompt" for="content" id="content-prompt-text"><?php _e( 'Enter a description' ); ?></label>
<label class="screen-reader-text prompt" for="content" id="content-prompt-text"><?php _e( 'What&#8217;s on your mind?' ); ?></label>
<textarea name="content" id="content" class="mceEditor" rows="3" cols="15"></textarea>
</div>

View File

@ -114,8 +114,6 @@ jQuery(document).ready( function($) {
});
$('#quick-press').on( 'click focusin', function() {
$(this).addClass('quickpress-open');
$('#description-wrap, p.submit').slideDown(200);
wpActiveEditor = 'content';
});