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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user