Make WordPress Core


Ignore:
Timestamp:
01/03/2021 10:02:13 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Promote many bool types to true or false where only that value is used.

See #51800

File:
1 edited

Legend:

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

    r49926 r49927  
    681681 *
    682682 * @param string $file
    683  * @return bool|array False on failure. Image metadata array on success.
     683 * @return false|array False on failure. Image metadata array on success.
    684684 */
    685685function wp_read_image_metadata( $file ) {
     
    10281028     * @since 2.9.0
    10291029     *
    1030      * @param string|bool $filepath      File path or URL to current image, or false.
     1030     * @param string|false $filepath      File path or URL to current image, or false.
    10311031     * @param int          $attachment_id Attachment ID.
    10321032     * @param string|int[] $size          Requested image size. Can be any registered image size name, or
Note: See TracChangeset for help on using the changeset viewer.