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/update-core.php

    r47060 r47099  
    881881 * @param string $from New release unzipped path.
    882882 * @param string $to   Path to old WordPress installation.
    883  * @return null|WP_Error Null on success, WP_Error on failure.
     883 * @return string|WP_Error New WordPress version on success, WP_Error on failure.
    884884 */
    885885function update_core( $from, $to ) {
Note: See TracChangeset for help on using the changeset viewer.