[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 02:41:33 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:                  |     Focuses:
----------------------------+--------------------

Comment (by dikiy_forester):

 Replying to [comment:4 jesin]:

 Patch doesn't allows to process $file parameter. It always will `false`.

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


More information about the wp-trac mailing list