mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Text Changes: Remove duplicate string, use the one we already have.
See #34521. Built from https://develop.svn.wordpress.org/trunk@37960 git-svn-id: http://core.svn.wordpress.org/trunk@37901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9ccd9b3a3e
commit
4a62825a05
@ -3397,7 +3397,7 @@ function wp_ajax_update_theme() {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if ( ! current_user_can( 'update_themes' ) ) {
|
if ( ! current_user_can( 'update_themes' ) ) {
|
||||||
$status['errorMessage'] = __( 'Sorry, you are not allowed to update themes on this site.' );
|
$status['errorMessage'] = __( 'Sorry, you are not allowed to update themes 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.6-beta1-37959';
|
$wp_version = '4.6-beta1-37960';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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
Block a user