Upgrade/Install: Revert [59981] pending test failure investigation.

See #62718.
Built from https://develop.svn.wordpress.org/trunk@59982


git-svn-id: http://core.svn.wordpress.org/trunk@59324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2025-03-14 14:53:29 +00:00
parent fda4905790
commit 87330c8aa7
2 changed files with 4 additions and 12 deletions

View File

@@ -1007,17 +1007,9 @@ class WP_Upgrader {
public function maintenance_mode( $enable = false ) { public function maintenance_mode( $enable = false ) {
global $wp_filesystem; global $wp_filesystem;
if ( ! function_exists( 'WP_Filesystem' ) ) { if ( ! $wp_filesystem ) {
require_once ABSPATH . '/wp-admin/includes/file.php'; require_once ABSPATH . 'wp-admin/includes/file.php';
} WP_Filesystem();
ob_start();
$credentials = request_filesystem_credentials( '' );
ob_end_clean();
if ( false === $credentials || ! WP_Filesystem( $credentials ) ) {
wp_trigger_error( __FUNCTION__, __( 'Could not access filesystem.' ) );
return;
} }
$file = $wp_filesystem->abspath() . '.maintenance'; $file = $wp_filesystem->abspath() . '.maintenance';

View File

@@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.8-beta2-59981'; $wp_version = '6.8-beta2-59982';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.