mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Docs: Clarify a comment in WP_Upgrader::run()
.
This matches the `WP_Upgrader::download_package()` documentation more closely. Follow-up to [11005], [30758], [33685]. See #53399. Built from https://develop.svn.wordpress.org/trunk@51654 git-svn-id: http://core.svn.wordpress.org/trunk@51260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
94a990de99
commit
d529999e5b
@ -378,7 +378,7 @@ class WP_Upgrader {
|
||||
*
|
||||
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
|
||||
*
|
||||
* @param string $remote_destination The location on the remote filesystem to be cleared
|
||||
* @param string $remote_destination The location on the remote filesystem to be cleared.
|
||||
* @return bool|WP_Error True upon success, WP_Error on failure.
|
||||
*/
|
||||
public function clear_destination( $remote_destination ) {
|
||||
@ -563,7 +563,8 @@ class WP_Upgrader {
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @param true|WP_Error $removed Whether the destination was cleared. true upon success, WP_Error on failure.
|
||||
* @param true|WP_Error $removed Whether the destination was cleared.
|
||||
* True upon success, WP_Error on failure.
|
||||
* @param string $local_destination The local package destination.
|
||||
* @param string $remote_destination The remote package destination.
|
||||
* @param array $hook_extra Extra arguments passed to hooked filters.
|
||||
@ -736,8 +737,8 @@ class WP_Upgrader {
|
||||
}
|
||||
|
||||
/*
|
||||
* Download the package (Note, This just returns the filename
|
||||
* of the file if the package is a local file)
|
||||
* Download the package. Note: If the package is the full path
|
||||
* to an existing local file, it will be returned untouched.
|
||||
*/
|
||||
$download = $this->download_package( $options['package'], true, $options['hook_extra'] );
|
||||
|
||||
@ -868,7 +869,7 @@ class WP_Upgrader {
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @global WP_Filesystem_Base $wp_filesystem Subclass
|
||||
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
|
||||
*
|
||||
* @param bool $enable True to enable maintenance mode, false to disable.
|
||||
*/
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.9-alpha-51653';
|
||||
$wp_version = '5.9-alpha-51654';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user