Make WordPress Core

Changeset 36995


Ignore:
Timestamp:
03/14/2016 10:42:36 PM (9 years ago)
Author:
johnbillion
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-upgrader.php

    r36822 r36995  
    31723172     * @global string $wp_version
    31733173     *
    3174      * @param object|WP_Error $update_result The result of the core update. Includes the update offer and result.
     3174     * @param object $update_result The result of the core update. Includes the update offer and result.
    31753175     */
    31763176    protected function after_core_update( $update_result ) {
Note: See TracChangeset for help on using the changeset viewer.