Docs: Correct @return
description for get_dirsize()
.
Props wpboss, tmatsuur. Fixes #46987. git-svn-id: https://develop.svn.wordpress.org/trunk@45249 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7c623d5304
commit
64d225cd00
@ -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' );
|
||||
|
Loading…
Reference in New Issue
Block a user