mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-04 18:01:42 +01:00
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:
parent
855c1b55d6
commit
b6d3cb0838
@ -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.' ) );
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user