[wp-trac] [WordPress Trac] #29646: wp_insert_attachment() doesn't allow to add post_parent for orphan attachments
WordPress Trac
noreply at wordpress.org
Thu Nov 6 08:14:26 UTC 2014
#29646: wp_insert_attachment() doesn't allow to add post_parent for orphan
attachments
------------------------------------------+-----------------------------
Reporter: dikiy_forester | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.0.1
Component: Media | Version: 4.0
Severity: normal | Resolution: fixed
Keywords: has-patch commit fixed-major | Focuses:
------------------------------------------+-----------------------------
Changes (by nacin):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"30258"]:
{{{
#!CommitTicketReference repository="" revision="30258"
Make sure the $parent argument of wp_insert_attachment() still works as
expected after [28579].
Merges [29745] to the 4.0 branch.
props jesin, dikiy_forester.
fixes #29646.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29646#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list