I18N: Combine two duplicate "Unable to locate WordPress Theme directory" strings.

See #18218.

git-svn-id: https://develop.svn.wordpress.org/trunk@38073 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2016-07-17 12:57:06 +00:00
parent 751f76fbaf
commit bc2a58755f
1 changed files with 1 additions and 1 deletions

View File

@ -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 );