From 9439bb7b4ffc8ef3be363760b89db2db556e1e01 Mon Sep 17 00:00:00 2001 From: Matt Thomas Date: Mon, 9 Dec 2013 00:42:56 +0000 Subject: [PATCH] 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 --- src/wp-admin/css/wp-admin.css | 13 ------------- src/wp-admin/includes/dashboard.php | 4 ++-- src/wp-admin/js/dashboard.js | 2 -- 3 files changed, 2 insertions(+), 17 deletions(-) diff --git a/src/wp-admin/css/wp-admin.css b/src/wp-admin/css/wp-admin.css index 895eb8a177..14599341b3 100644 --- a/src/wp-admin/css/wp-admin.css +++ b/src/wp-admin/css/wp-admin.css @@ -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; diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php index cd41f24509..125afc58a4 100644 --- a/src/wp-admin/includes/dashboard.php +++ b/src/wp-admin/includes/dashboard.php @@ -344,12 +344,12 @@ function wp_dashboard_quick_press( $error_msg = false ) {
- +
- +
diff --git a/src/wp-admin/js/dashboard.js b/src/wp-admin/js/dashboard.js index 48e863ff18..f88be70fd9 100644 --- a/src/wp-admin/js/dashboard.js +++ b/src/wp-admin/js/dashboard.js @@ -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'; });