mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 11:35:48 +00:00
Docs: Correct @return
value for update_core()
and Core_Upgrader::upgrade()
.
See #48303. Built from https://develop.svn.wordpress.org/trunk@47099 git-svn-id: http://core.svn.wordpress.org/trunk@46899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
46dd0a79f6
commit
381df97419
@ -57,7 +57,7 @@ class Core_Upgrader extends WP_Upgrader {
|
||||
* @type bool $do_rollback Whether to perform this "upgrade" as a rollback.
|
||||
* Default false.
|
||||
* }
|
||||
* @return null|false|WP_Error Null on success, false or WP_Error on failure.
|
||||
* @return string|false|WP_Error New WordPress version on success, false or WP_Error on failure.
|
||||
*/
|
||||
public function upgrade( $current, $args = array() ) {
|
||||
global $wp_filesystem;
|
||||
|
@ -880,7 +880,7 @@ $_new_bundled_files = array(
|
||||
*
|
||||
* @param string $from New release unzipped path.
|
||||
* @param string $to Path to old WordPress installation.
|
||||
* @return null|WP_Error Null on success, WP_Error on failure.
|
||||
* @return string|WP_Error New WordPress version on success, WP_Error on failure.
|
||||
*/
|
||||
function update_core( $from, $to ) {
|
||||
global $wp_filesystem, $_old_files, $_new_bundled_files, $wpdb;
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.4-alpha-47098';
|
||||
$wp_version = '5.4-alpha-47099';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
x
Reference in New Issue
Block a user