Make WordPress Core


Ignore:
Timestamp:
11/18/2021 01:48:43 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Various corrections and improvements relating to types used in inline documentation.

See #53399

File:
1 edited

Legend:

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

    r52187 r52204  
    81358135 * @since 5.6.0 The `$directory_cache` parameter was added.
    81368136 *
    8137  * @param string       $directory          Full path of a directory.
    8138  * @param string|array $exclude            Optional. Full path of a subdirectory to exclude from the total,
    8139  *                                         or array of paths. Expected without trailing slash(es).
    8140  * @param int          $max_execution_time Optional. Maximum time to run before giving up. In seconds.
    8141  *                                         The timeout is global and is measured from the moment
    8142  *                                         WordPress started to load.
    8143  * @param array        $directory_cache    Optional. Array of cached directory paths.
     8137 * @param string          $directory          Full path of a directory.
     8138 * @param string|string[] $exclude            Optional. Full path of a subdirectory to exclude from the total,
     8139 *                                            or array of paths. Expected without trailing slash(es).
     8140 * @param int             $max_execution_time Optional. Maximum time to run before giving up. In seconds.
     8141 *                                            The timeout is global and is measured from the moment
     8142 *                                            WordPress started to load.
     8143 * @param array           $directory_cache    Optional. Array of cached directory paths.
    81448144 *
    81458145 * @return int|false|null Size in bytes if a valid directory. False if not. Null if timeout.
     
    81928192     * @since 5.6.0
    81938193     *
    8194      * @param int|false $space_used The amount of used space, in bytes. Default false.
     8194     * @param int|false            $space_used         The amount of used space, in bytes. Default false.
     8195     * @param string               $directory          Full path of a directory.
     8196     * @param string|string[]|null $exclude            Full path of a subdirectory to exclude from the total,
     8197     *                                                 or array of paths.
     8198     * @param int                  $max_execution_time Maximum time to run before giving up. In seconds.
     8199     * @param array                $directory_cache    Array of cached directory paths.
    81958200     */
    81968201    $size = apply_filters( 'pre_recurse_dirsize', false, $directory, $exclude, $max_execution_time, $directory_cache );
Note: See TracChangeset for help on using the changeset viewer.