diff --git a/wp-admin/includes/ajax-actions.php b/wp-admin/includes/ajax-actions.php index ee2d186481..fa3dde021d 100644 --- a/wp-admin/includes/ajax-actions.php +++ b/wp-admin/includes/ajax-actions.php @@ -5324,7 +5324,7 @@ function wp_ajax_toggle_auto_updates() { switch ( $type ) { case 'plugin': if ( ! current_user_can( 'update_plugins' ) ) { - $error_message = __( 'You do not have permission to modify plugins.' ); + $error_message = __( 'Sorry, you are not allowed to modify plugins.' ); wp_send_json_error( array( 'error' => $error_message ) ); } @@ -5334,7 +5334,7 @@ function wp_ajax_toggle_auto_updates() { break; case 'theme': if ( ! current_user_can( 'update_themes' ) ) { - $error_message = __( 'You do not have permission to modify themes.' ); + $error_message = __( 'Sorry, you are not allowed to modify themes.' ); wp_send_json_error( array( 'error' => $error_message ) ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 93d6a83a4c..d1b552f0ce 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-beta2-48533'; +$wp_version = '5.5-beta2-48534'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.