File: wp-admin/includes/class-wp-upgrader.php
-
Moves the plugin or theme being updated into a temporary backup directory.
-
Restores the plugin or theme from temporary backup.
-
Deletes a temporary backup.
-
Schedules the cleanup of the temporary backup directory.
-
Filters the result of WP_Upgrader::install_package().
-
Flattens the results of WP_Filesystem_Base::dirlist() for iterating over.
-
Creates a lock using WordPress options.
-
Releases an upgrader lock.
-
Filters the package options before running an update.
-
Clears the directory where this item is going to be installed into.
-
Fires when the upgrader process is complete.
-
Filters whether the upgrader cleared the destination.
-
Filters the installation response after the installation has finished.
-
methodWP_Upgrader::run()
Runs an upgrade/installation.
-
Toggles maintenance mode for the site.
-
Connects to the filesystem.
-
Downloads a package.
-
Filters whether to return the package.
-
Unpacks a compressed package file.
-
Install a package.
-
Filters the installation response before the installation has started.
-
Filters the source file location for the upgrade package.
-
classWP_Upgrader
-
Construct the upgrader with a skin.
-
methodWP_Upgrader::init()
Initializes the upgrader.
-
Adds the generic strings to WP_Upgrader::$strings.