From c309be74be0afb778e47980604a94c93d4a2e22b Mon Sep 17 00:00:00 2001 From: costdev Date: Mon, 12 Feb 2024 12:07:10 +0000 Subject: [PATCH] Filesystem API: Fix typo in `ftp_base::restore()`. The `ftp_base::restore()` method contained a typo internally: "resore" should be "restore". Follow-up to [7126]. Props benniledl, hellofromTonya, audrasjb. Fixes #60497. Built from https://develop.svn.wordpress.org/trunk@57591 git-svn-id: http://core.svn.wordpress.org/trunk@57092 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-ftp.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/class-ftp.php b/wp-admin/includes/class-ftp.php index 7658a0bc96..1b29783ffa 100644 --- a/wp-admin/includes/class-ftp.php +++ b/wp-admin/includes/class-ftp.php @@ -483,7 +483,7 @@ class ftp_base { $this->PushError("restore", "cannot restore in ASCII mode"); return FALSE; } - if(!$this->_exec("REST ".$from, "resore")) return FALSE; + if(!$this->_exec("REST ".$from, "restore")) return FALSE; if(!$this->_checkCode()) return FALSE; return TRUE; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 091706b5a2..884dce47a7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57590'; +$wp_version = '6.5-alpha-57591'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.