diff --git a/wp-admin/upload.php b/wp-admin/upload.php index 991274dbb2..b9495ac059 100644 --- a/wp-admin/upload.php +++ b/wp-admin/upload.php @@ -144,7 +144,7 @@ if ( $doaction ) { break; foreach ( (array) $post_ids as $post_id ) { if ( !current_user_can( 'delete_post', $post_id ) ) - wp_die( __( 'Sorry, you are not allowed to move this item out of the Trash.' ) ); + wp_die( __( 'Sorry, you are not allowed to restore this item from the Trash.' ) ); if ( !wp_untrash_post( $post_id ) ) wp_die( __( 'Error in restoring from Trash.' ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 9d159efed4..33f6a12b6c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-beta1-37957'; +$wp_version = '4.6-beta1-37958'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.