mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
I18N: Change unnecessary uppercased words in WP_Upgrader::generic_strings()
to lower case.
See #18218. Built from https://develop.svn.wordpress.org/trunk@38074 git-svn-id: http://core.svn.wordpress.org/trunk@38015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f429056194
commit
48f9940cfc
@ -150,13 +150,13 @@ class WP_Upgrader {
|
||||
* @access public
|
||||
*/
|
||||
public function generic_strings() {
|
||||
$this->strings['bad_request'] = __('Invalid Data provided.');
|
||||
$this->strings['bad_request'] = __('Invalid data provided.');
|
||||
$this->strings['fs_unavailable'] = __('Could not access filesystem.');
|
||||
$this->strings['fs_error'] = __('Filesystem error.');
|
||||
$this->strings['fs_no_root_dir'] = __('Unable to locate WordPress Root directory.');
|
||||
$this->strings['fs_no_content_dir'] = __('Unable to locate WordPress Content directory (wp-content).');
|
||||
$this->strings['fs_no_plugins_dir'] = __('Unable to locate WordPress Plugin directory.');
|
||||
$this->strings['fs_no_themes_dir'] = __('Unable to locate WordPress Theme directory.');
|
||||
$this->strings['fs_no_root_dir'] = __('Unable to locate WordPress root directory.');
|
||||
$this->strings['fs_no_content_dir'] = __('Unable to locate WordPress content directory (wp-content).');
|
||||
$this->strings['fs_no_plugins_dir'] = __('Unable to locate WordPress plugin directory.');
|
||||
$this->strings['fs_no_themes_dir'] = __('Unable to locate WordPress theme directory.');
|
||||
/* translators: %s: directory name */
|
||||
$this->strings['fs_no_folder'] = __('Unable to locate needed folder (%s).');
|
||||
|
||||
|
@ -818,7 +818,7 @@ function delete_plugins( $plugins, $deprecated = '' ) {
|
||||
// Get the base plugin folder.
|
||||
$plugins_dir = $wp_filesystem->wp_plugins_dir();
|
||||
if ( empty( $plugins_dir ) ) {
|
||||
return new WP_Error( 'fs_no_plugins_dir', __( 'Unable to locate WordPress Plugin directory.' ) );
|
||||
return new WP_Error( 'fs_no_plugins_dir', __( 'Unable to locate WordPress plugin directory.' ) );
|
||||
}
|
||||
|
||||
$plugins_dir = trailingslashit( $plugins_dir );
|
||||
|
@ -60,7 +60,7 @@ function delete_theme($stylesheet, $redirect = '') {
|
||||
// Get the base plugin folder.
|
||||
$themes_dir = $wp_filesystem->wp_themes_dir();
|
||||
if ( empty( $themes_dir ) ) {
|
||||
return new WP_Error( 'fs_no_themes_dir', __( 'Unable to locate WordPress Theme directory.' ) );
|
||||
return new WP_Error( 'fs_no_themes_dir', __( 'Unable to locate WordPress theme directory.' ) );
|
||||
}
|
||||
|
||||
$themes_dir = trailingslashit( $themes_dir );
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.6-beta3-38073';
|
||||
$wp_version = '4.6-beta3-38074';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user