diff --git a/wp-admin/post-new.php b/wp-admin/post-new.php index 74f81fba89..0c84608ba2 100644 --- a/wp-admin/post-new.php +++ b/wp-admin/post-new.php @@ -54,8 +54,13 @@ $title = $post_type_object->labels->add_new_item; $editing = true; -if ( ! current_user_can( $post_type_object->cap->edit_posts ) || ! current_user_can( $post_type_object->cap->create_posts ) ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); +if ( ! current_user_can( $post_type_object->cap->edit_posts ) || ! current_user_can( $post_type_object->cap->create_posts ) ) { + wp_die( + '

' . __( 'Cheatin’ uh?' ) . '

' . + '

' . __( 'You are not allowed to create posts as this user.' ) . '

', + 403 + ); +} // Schedule auto-draft cleanup if ( ! wp_next_scheduled( 'wp_scheduled_auto_draft_delete' ) ) diff --git a/wp-includes/version.php b/wp-includes/version.php index c62475a68a..45afe5236c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-33863'; +$wp_version = '4.4-alpha-33864'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.