Skip to content

Commit 753b41b

Browse files
committed
Docs: Fix wrong inline comment in delete_theme().
Props wildworks. Fixes #60246. See #59651. git-svn-id: https://develop.svn.wordpress.org/trunk@57280 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 6089ffb commit 753b41b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-admin/includes/theme.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function delete_theme( $stylesheet, $redirect = '' ) {
6666
return new WP_Error( 'fs_error', __( 'Filesystem error.' ), $wp_filesystem->errors );
6767
}
6868

69-
// Get the base plugin folder.
69+
// Get the base theme folder.
7070
$themes_dir = $wp_filesystem->wp_themes_dir();
7171
if ( empty( $themes_dir ) ) {
7272
return new WP_Error( 'fs_no_themes_dir', __( 'Unable to locate WordPress theme directory.' ) );

0 commit comments

Comments
 (0)