WordPress.org

Make WordPress Core

Changeset 45249


Ignore:
Timestamp:
04/19/2019 01:38:04 PM (4 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct @return description for get_dirsize().

Props wpboss, tmatsuur.
Fixes #46987.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r45220 r45249  
    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 */
    70417041function get_dirsize( $directory, $max_execution_time = null ) {
Note: See TracChangeset for help on using the changeset viewer.