mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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 git-svn-id: https://develop.svn.wordpress.org/trunk@36995 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user