Make WordPress Core


Ignore:
Timestamp:
02/12/2024 12:05:44 PM (3 years ago)
Author:
costdev
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-ftp.php

    r55988 r57591  
    484484                        return FALSE;
    485485                }
    486                 if(!$this->_exec("REST ".$from, "resore")) return FALSE;
     486                if(!$this->_exec("REST ".$from, "restore")) return FALSE;
    487487                if(!$this->_checkCode()) return FALSE;
    488488                return TRUE;
Note: See TracChangeset for help on using the changeset viewer.