From 643ec358a40faba739266f11c34990c142f02d98 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 19 Apr 2019 13:39:52 +0000 Subject: [PATCH] Docs: Correct `@return` description for `get_dirsize()`. Props wpboss, tmatsuur. Fixes #46987. Built from https://develop.svn.wordpress.org/trunk@45249 git-svn-id: http://core.svn.wordpress.org/trunk@45058 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 170fc121c7..7ebae8b155 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -7036,7 +7036,7 @@ function wp_direct_php_update_button() { * @param string $directory Full path of a directory. * @param int $max_execution_time Maximum time to run before giving up. In seconds. * The timeout is global and is measured from the moment WordPress started to load. - * @return int|false|null Size in MB if a valid directory. False if not. Null if timeout. + * @return int|false|null Size in bytes if a valid directory. False if not. Null if timeout. */ function get_dirsize( $directory, $max_execution_time = null ) { $dirsize = get_transient( 'dirsize_cache' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 3fee1c121d..e4fc296fd6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-beta3-45248'; +$wp_version = '5.2-beta3-45249'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.