From 753b41bd4ab857af6d3254bcb549146d39e89a58 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Sun, 14 Jan 2024 10:04:38 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/theme.php b/src/wp-admin/includes/theme.php index f822e57cf2..91e92995ec 100644 --- a/src/wp-admin/includes/theme.php +++ b/src/wp-admin/includes/theme.php @@ -66,7 +66,7 @@ function delete_theme( $stylesheet, $redirect = '' ) { return new WP_Error( 'fs_error', __( 'Filesystem error.' ), $wp_filesystem->errors ); } - // Get the base plugin folder. + // Get the base theme 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.' ) );