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:
parent
751f76fbaf
commit
bc2a58755f
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue