[wp-trac] [WordPress Trac] #29646: wp_insert_attachment() doesn't allow to add post_parent for orphan attachments
WordPress Trac
noreply at wordpress.org
Mon Sep 15 14:23:33 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 | Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"29745"]:
{{{
#!CommitTicketReference repository="" revision="29745"
Make sure the $parent argument of wp_insert_attachment() still works as
expected after [28579].
prop jesin, dikiy_forester.
fixes #29646 for trunk.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29646#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list