Skip to content

Commit 64d225c

Browse files
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
1 parent 7c623d5 commit 64d225c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7036,7 +7036,7 @@ function wp_direct_php_update_button() {
70367036
* @param string $directory Full path of a directory.
70377037
* @param int $max_execution_time Maximum time to run before giving up. In seconds.
70387038
* The timeout is global and is measured from the moment WordPress started to load.
7039-
* @return int|false|null Size in MB if a valid directory. False if not. Null if timeout.
7039+
* @return int|false|null Size in bytes if a valid directory. False if not. Null if timeout.
70407040
*/
70417041
function get_dirsize( $directory, $max_execution_time = null ) {
70427042
$dirsize = get_transient( 'dirsize_cache' );

0 commit comments

Comments
 (0)