diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php index 44923d52b6..e90a87f760 100644 --- a/wp-admin/edit-tags.php +++ b/wp-admin/edit-tags.php @@ -18,13 +18,13 @@ if ( ! $tax ) wp_die( __( 'Invalid taxonomy.' ) ); if ( ! in_array( $tax->name, get_taxonomies( array( 'show_ui' => true ) ) ) ) { - wp_die( __( 'Sorry, you are not allowed to manage these items.' ) ); + wp_die( __( 'Sorry, you are not allowed to edit terms in this taxonomy.' ) ); } if ( ! current_user_can( $tax->cap->manage_terms ) ) { wp_die( '
' . __( 'Sorry, you are not allowed to manage these items.' ) . '
', + '' . __( 'Sorry, you are not allowed to manage terms in this taxonomy.' ) . '
', 403 ); } @@ -74,7 +74,7 @@ case 'add-tag': if ( ! current_user_can( $tax->cap->edit_terms ) ) { wp_die( '' . __( 'Sorry, you are not allowed to add this item.' ) . '
', + '' . __( 'Sorry, you are not allowed to create terms in this taxonomy.' ) . '
', 403 ); } diff --git a/wp-admin/options.php b/wp-admin/options.php index 933830b940..1747489084 100644 --- a/wp-admin/options.php +++ b/wp-admin/options.php @@ -47,7 +47,7 @@ if ( empty($option_page) ) { if ( ! current_user_can( $capability ) ) { wp_die( '' . __( 'Sorry, you are not allowed to manage these items.' ) . '
', + '' . __( 'Sorry, you are not allowed to manage these options.' ) . '
', 403 ); } diff --git a/wp-admin/users.php b/wp-admin/users.php index aaa30e8a24..79ed156ead 100644 --- a/wp-admin/users.php +++ b/wp-admin/users.php @@ -94,7 +94,7 @@ case 'promote': check_admin_referer('bulk-users'); if ( ! current_user_can( 'promote_users' ) ) - wp_die( __( 'Sorry, you are not allowed to edit that user.' ) ); + wp_die( __( 'Sorry, you are not allowed to edit this user.' ) ); if ( empty($_REQUEST['users']) ) { wp_redirect($redirect); @@ -119,7 +119,7 @@ case 'promote': $id = (int) $id; if ( ! current_user_can('promote_user', $id) ) - wp_die(__('Sorry, you are not allowed to edit that user.')); + wp_die(__('Sorry, you are not allowed to edit this user.')); // The new role of the current user must also have the promote_users cap or be a multisite super admin if ( $id == $current_user->ID && ! $wp_roles->role_objects[ $role ]->has_cap('promote_users') && ! ( is_multisite() && is_super_admin() ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 031643db8a..152a4513cf 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-beta4-39307'; +$wp_version = '4.7-beta4-39308'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.