[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:22:37 UTC 2014


#29646: wp_insert_attachment() doesn't allow to add post_parent for orphan
attachments
------------------------------+--------------------
 Reporter:  dikiy_forester    |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  4.0.1
Component:  Media             |     Version:  4.0
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch commit


Comment:

 Replying to [comment:3 dikiy_forester]:
 > Sorry, my explanation was not clear, please look the code below, hope
 it's better

 It is, thank you.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29646#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list