Make WordPress Core

Changeset 50051 for trunk


Ignore:
Timestamp:
01/28/2021 10:40:31 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Revert documentation change for wp_get_attachment_metadata().

This more accurately describes the behavior of the function, and is more consistent with the documentation for other post and attachment functions.

Follow-up to [50039].

Props Mista-Flo.
See #52196.

File:
1 edited

Legend:

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

    r50039 r50051  
    61156115 * @since 2.1.0
    61166116 *
    6117  * @param int  $attachment_id Attachment post ID. Default 0.
     6117 * @param int  $attachment_id Attachment post ID. Defaults to global $post.
    61186118 * @param bool $unfiltered    Optional. If true, filters are not run. Default false.
    61196119 * @return array|false {
Note: See TracChangeset for help on using the changeset viewer.