diff --git a/wp-admin/includes/ajax-actions.php b/wp-admin/includes/ajax-actions.php index 561c37b437..170eb96b06 100644 --- a/wp-admin/includes/ajax-actions.php +++ b/wp-admin/includes/ajax-actions.php @@ -2015,7 +2015,7 @@ function wp_ajax_upload_attachment() { echo wp_json_encode( array( 'success' => false, 'data' => array( - 'message' => __( "You don't have permission to attach files to this post." ), + 'message' => __( 'Sorry, you are not allowed to attach files to this post.' ), 'filename' => $_FILES['async-upload']['name'], ) ) ); diff --git a/wp-admin/users.php b/wp-admin/users.php index 42f34f7fe7..e83113386a 100644 --- a/wp-admin/users.php +++ b/wp-admin/users.php @@ -382,7 +382,7 @@ case 'remove': echo "
  • " . sprintf(__('ID #%1$s: %2$s The current user will not be removed.'), $id, $user->user_login) . "
  • \n"; } elseif ( !current_user_can('remove_user', $id) ) { /* translators: 1: user id, 2: user login */ - echo "
  • " . sprintf(__('ID #%1$s: %2$s You don’t have permission to remove this user.'), $id, $user->user_login) . "
  • \n"; + echo "
  • " . sprintf(__('ID #%1$s: %2$s Sorry, you are not allowed to remove this user.'), $id, $user->user_login) . "
  • \n"; } else { /* translators: 1: user id, 2: user login */ echo "
  • " . sprintf(__('ID #%1$s: %2$s'), $id, $user->user_login) . "
  • \n"; diff --git a/wp-includes/version.php b/wp-includes/version.php index a35bf94bb2..f822d5e996 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38665'; +$wp_version = '4.7-alpha-38666'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.