Text Changes: Remove duplicate string, use the one we already have.
See #34521. git-svn-id: https://develop.svn.wordpress.org/trunk@37956 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1d16d1f36d
commit
f4d197c534
@ -3826,7 +3826,7 @@ function wp_ajax_search_install_plugins() {
|
|||||||
$status = array();
|
$status = array();
|
||||||
|
|
||||||
if ( ! $wp_list_table->ajax_user_can() ) {
|
if ( ! $wp_list_table->ajax_user_can() ) {
|
||||||
$status['errorMessage'] = __( 'Sorry, you are not allowed to manage plugins on this site.' );
|
$status['errorMessage'] = __( 'Sorry, you are not allowed to manage plugins for this site.' );
|
||||||
wp_send_json_error( $status );
|
wp_send_json_error( $status );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user