Merge similar strings for plugin update permissions.
props pavelevap. fixes #32388. Built from https://develop.svn.wordpress.org/trunk@33432 git-svn-id: http://core.svn.wordpress.org/trunk@33399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
82034319e1
commit
67618d5cc0
|
@ -2963,7 +2963,7 @@ function wp_ajax_update_plugin() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ! current_user_can( 'update_plugins' ) ) {
|
if ( ! current_user_can( 'update_plugins' ) ) {
|
||||||
$status['error'] = __( 'You do not have sufficient permissions to update plugins on this site.' );
|
$status['error'] = __( 'You do not have sufficient permissions to update plugins for this site.' );
|
||||||
wp_send_json_error( $status );
|
wp_send_json_error( $status );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.3-beta4-33431';
|
$wp_version = '4.3-beta4-33432';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue