diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php
index 9fd90bae27..7f876943b6 100644
--- a/wp-admin/includes/dashboard.php
+++ b/wp-admin/includes/dashboard.php
@@ -47,7 +47,7 @@ function wp_dashboard_setup() {
}
// QuickPress Widget
- if ( is_blog_admin() && current_user_can( 'edit_posts' ) ) {
+ if ( is_blog_admin() && current_user_can( get_post_type_object( 'post' )->cap->create_posts ) ) {
$quick_draft_title = sprintf( '%1$s %2$s', __( 'Quick Draft' ), __( 'Drafts' ) );
wp_add_dashboard_widget( 'dashboard_quick_press', $quick_draft_title, 'wp_dashboard_quick_press' );
}
diff --git a/wp-admin/post.php b/wp-admin/post.php
index 174a949d35..5333b5f306 100644
--- a/wp-admin/post.php
+++ b/wp-admin/post.php
@@ -71,7 +71,7 @@ case 'post-quickdraft-save':
if ( ! wp_verify_nonce( $nonce, 'add-post' ) )
$error_msg = __( 'Unable to submit this form, please refresh and try again.' );
- if ( ! current_user_can( 'edit_posts' ) ) {
+ if ( ! current_user_can( get_post_type_object( 'post' )->cap->create_posts ) ) {
exit;
}
diff --git a/wp-includes/version.php b/wp-includes/version.php
index aff8813e1e..2539046cf5 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
-$wp_version = '4.4-alpha-35281';
+$wp_version = '4.4-alpha-35282';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.