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

See #48303.

git-svn-id: https://develop.svn.wordpress.org/trunk@47099 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-01-22 00:17:24 +00:00
parent af39b30e28
commit 80e4ef45f1
2 changed files with 2 additions and 2 deletions

View File

@@ -880,7 +880,7 @@ $_new_bundled_files = array(
*
* @param string $from New release unzipped path.
* @param string $to Path to old WordPress installation.
* @return null|WP_Error Null on success, WP_Error on failure.
* @return string|WP_Error New WordPress version on success, WP_Error on failure.
*/
function update_core( $from, $to ) {
global $wp_filesystem, $_old_files, $_new_bundled_files, $wpdb;