[wp-trac] [WordPress Trac] #34404: Wrong docs for $post param for attachment_fields_to_save filter
WordPress Trac
noreply at wordpress.org
Thu Oct 22 20:34:08 UTC 2015
#34404: Wrong docs for $post param for attachment_fields_to_save filter
--------------------------+----------------------------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.9
Severity: normal | Keywords: needs-patch good-first-bug
Focuses: docs |
--------------------------+----------------------------------------
`$post` is an array, not a `WP_Post` object, see
https://core.trac.wordpress.org/browser/trunk/src/wp-
admin/includes/media.php?marks=639,665&rev=35182#L628.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34404>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list