[wp-trac] [WordPress Trac] #52196: wp_get_attachment_metadata() is broken if no first argument is passed in.
WordPress Trac
noreply at wordpress.org
Thu Jan 28 10:40:46 UTC 2021
#52196: wp_get_attachment_metadata() is broken if no first argument is passed in.
------------------------------+-----------------------------
Reporter: cfinke | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.6.1
Component: Media | Version: 5.6
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"50051" 50051]:
{{{
#!CommitTicketReference repository="" revision="50051"
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.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52196#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list