Make WordPress Core


Ignore:
Timestamp:
01/28/2021 10:41:52 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.
Merges [50051] to the 5.6 branch.
See #52196.

Location:
branches/5.6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.6

  • branches/5.6/src/wp-includes/post.php

    r50040 r50052  
    60726072 * @since 2.1.0
    60736073 *
    6074  * @param int  $attachment_id Attachment post ID. Default 0.
     6074 * @param int  $attachment_id Attachment post ID. Defaults to global $post.
    60756075 * @param bool $unfiltered    Optional. If true, filters are not run. Default false.
    60766076 * @return array|false {
Note: See TracChangeset for help on using the changeset viewer.