More dash updates.

* Shuffle around some pixels.
 * Rename some things that weren't caught in [26220].
 * Revert default-widgets.php change from [26144].
props lessbloat.
see #25824.

Built from https://develop.svn.wordpress.org/trunk@26230


git-svn-id: http://core.svn.wordpress.org/trunk@26137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin
2013-11-15 22:23:09 +00:00
parent 7b06d5b0a9
commit 791e807f08
8 changed files with 77 additions and 77 deletions

View File

@@ -105,14 +105,14 @@ case 'post-quickdraft-save':
$error_msg = "Oops, you don't have access to add new drafts.";
if ( $error_msg )
return wp_dashboard_quick_draft( $error_msg );
return wp_dashboard_quick_press( $error_msg );
$post = get_post( $_REQUEST['post_ID'] );
check_admin_referer( 'add-' . $post->post_type );
edit_post();
// output the quickdraft dashboard widget
require_once(ABSPATH . 'wp-admin/includes/dashboard.php');
wp_dashboard_quick_draft();
wp_dashboard_quick_press();
exit;
break;