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:
parent
22d8c0af3c
commit
643ec358a4
|
@ -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' );
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue