WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/22/2020 12:17:24 AM (17 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct @return value for update_core() and Core_Upgrader::upgrade().

See #48303.

File:
1 edited

Legend:

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

    r47060 r47099  
    5858     *                                     Default false.
    5959     * }
    60      * @return null|false|WP_Error Null on success, false or WP_Error on failure.
     60     * @return string|false|WP_Error New WordPress version on success, false or WP_Error on failure.
    6161     */
    6262    public function upgrade( $current, $args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.