WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/03/2021 10:02:13 PM (11 months 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/media.php

    r49845 r49927  
    35273527 *
    35283528 * @param string $file Path to file.
    3529  * @return array|bool Returns array of metadata, if found.
     3529 * @return array|false Returns array of metadata, if found.
    35303530 */
    35313531function wp_read_video_metadata( $file ) {
     
    36383638 *
    36393639 * @param string $file Path to file.
    3640  * @return array|bool Returns array of metadata, if found.
     3640 * @return array|false Returns array of metadata, if found.
    36413641 */
    36423642function wp_read_audio_metadata( $file ) {
     
    37073707 *
    37083708 * @param array $metadata The metadata returned by getID3::analyze().
    3709  * @return int|bool A UNIX timestamp for the media's creation date if available
    3710  *                  or a boolean FALSE if a timestamp could not be determined.
     3709 * @return int|false A UNIX timestamp for the media's creation date if available
     3710 *                   or a boolean FALSE if a timestamp could not be determined.
    37113711 */
    37123712function wp_get_media_creation_timestamp( $metadata ) {
Note: See TracChangeset for help on using the changeset viewer.