Docs: The `$update_result` parameter passed to `WP_Automatic_Updater::after_core_update()` is never a `WP_Error`. If an error is returned, the error object lives in the `result` property of the paramter.
See #32246 Built from https://develop.svn.wordpress.org/trunk@36995 git-svn-id: http://core.svn.wordpress.org/trunk@36962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2cee8966ab
commit
852f085d19
|
@ -3171,7 +3171,7 @@ class WP_Automatic_Updater {
|
|||
*
|
||||
* @global string $wp_version
|
||||
*
|
||||
* @param object|WP_Error $update_result The result of the core update. Includes the update offer and result.
|
||||
* @param object $update_result The result of the core update. Includes the update offer and result.
|
||||
*/
|
||||
protected function after_core_update( $update_result ) {
|
||||
global $wp_version;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-beta3-36994';
|
||||
$wp_version = '4.5-beta3-36995';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue