Docs: Fix wrong inline comment in `delete_theme()`.

Props wildworks.
Fixes #60246.
See #59651.




Built from https://develop.svn.wordpress.org/trunk@57280


git-svn-id: http://core.svn.wordpress.org/trunk@56786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2024-01-14 10:06:18 +00:00
parent 855c1b55d6
commit b6d3cb0838
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.5-alpha-57279';
$wp_version = '6.5-alpha-57280';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.