Make WordPress Core


Ignore:
Timestamp:
06/15/2021 07:09:31 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Update syntax for multi-line comment in wp_generate_attachment_metadata() per the documentation standards.

Follow-up to [23766], [25968], [35554], [51162].

Props hellofromTonya.
Fixes #52603.

File:
1 edited

Legend:

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

    r51162 r51166  
    491491    }
    492492
    493     // wp_read_video_metadata() and wp_read_audio_metadata() return `false` if the attachment
    494     // does not exist in the local filesystem, so make sure to convert the value to an array.
     493    /*
     494     * wp_read_video_metadata() and wp_read_audio_metadata() return `false`
     495     * if the attachment does not exist in the local filesystem,
     496     * so make sure to convert the value to an array.
     497     */
    495498    if ( ! is_array( $metadata ) ) {
    496499        $metadata = array();
Note: See TracChangeset for help on using the changeset viewer.