Make WordPress Core


Ignore:
Timestamp:
07/23/2020 09:09:04 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Another pass at some inline docs fixes mostly made by PHPCBF.

See #49572, #50744

File:
1 edited

Legend:

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

    r48573 r48590  
    299299     * @param int          $timestamp Unix timestamp.
    300300     * @param DateTimeZone $timezone  Timezone.
    301      *
    302301     */
    303302    $date = apply_filters( 'wp_date', $date, $format, $timestamp, $timezone );
     
    835834 * @global wpdb $wpdb WordPress database abstraction object.
    836835 *
    837  * @param string         $content Post content. If `null`, the `post_content` field from `$post` is used.
    838  * @param int|WP_Post    $post    Post ID or post object.
     836 * @param string      $content Post content. If `null`, the `post_content` field from `$post` is used.
     837 * @param int|WP_Post $post    Post ID or post object.
    839838 * @return null|bool Returns false if post is not found.
    840839 */
     
    26422641 * @since 2.0.0
    26432642 *
    2644  * @param string       $name       Filename.
    2645  * @param null|string  $deprecated Never used. Set to null.
    2646  * @param string       $bits       File content
    2647  * @param string       $time       Optional. Time formatted in 'yyyy/mm'. Default null.
     2643 * @param string      $name       Filename.
     2644 * @param null|string $deprecated Never used. Set to null.
     2645 * @param string      $bits       File content
     2646 * @param string      $time       Optional. Time formatted in 'yyyy/mm'. Default null.
    26482647 * @return array {
    26492648 *     Information about the newly-uploaded file.
     
    75257524 * @since 5.2.0 $max_execution_time parameter added.
    75267525 *
    7527  * @param string $directory       Full path of a directory.
    7528  * @param string|array $exclude   Optional. Full path of a subdirectory to exclude from the total, or array of paths.
    7529  *                                Expected without trailing slash(es).
    7530  * @param int $max_execution_time Maximum time to run before giving up. In seconds.
    7531  *                                The timeout is global and is measured from the moment WordPress started to load.
     7526 * @param string       $directory          Full path of a directory.
     7527 * @param string|array $exclude            Optional. Full path of a subdirectory to exclude from the total, or array of
     7528 *                                         paths. Expected without trailing slash(es).
     7529 * @param int          $max_execution_time Maximum time to run before giving up. In seconds.
     7530 *                                         The timeout is global and is measured from the moment WordPress started to load.
    75327531 * @return int|false|null Size in bytes if a valid directory. False if not. Null if timeout.
    75337532 */
Note: See TracChangeset for help on using the changeset viewer.