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
This commit is contained in:
Sergey Biryukov 2019-04-19 13:39:52 +00:00
parent 22d8c0af3c
commit 643ec358a4
2 changed files with 2 additions and 2 deletions

View File

@ -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' );

View File

@ -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.