mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Docs: In various @return tags, list the expected type first, instead of false.
Follow-up to [46696]. See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@47060 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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 WP_Error on failure, null on success.
|
||||
* @return null|WP_Error Null on success, WP_Error on failure.
|
||||
*/
|
||||
function update_core( $from, $to ) {
|
||||
global $wp_filesystem, $_old_files, $_new_bundled_files, $wpdb;
|
||||
@@ -1314,7 +1314,7 @@ function update_core( $from, $to ) {
|
||||
* @param string $from Source directory.
|
||||
* @param string $to Destination directory.
|
||||
* @param string[] $skip_list Array of files/folders to skip copying.
|
||||
* @return true|WP_Error WP_Error on failure, true on success.
|
||||
* @return true|WP_Error True on success, WP_Error on failure.
|
||||
*/
|
||||
function _copy_dir( $from, $to, $skip_list = array() ) {
|
||||
global $wp_filesystem;
|
||||
|
||||
Reference in New Issue
Block a user