[wp-trac] Re: [WordPress Trac] #3757: Uploads to post-new.php don't get associated with the post

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 6 21:12:01 GMT 2007


#3757: Uploads to post-new.php don't get associated with the post
-----------------------------------+----------------------------------------
 Reporter:  JBoyd                  |        Owner:  anonymous
     Type:  defect                 |       Status:  new      
 Priority:  normal                 |    Milestone:  2.3      
Component:  Administration         |      Version:  2.1      
 Severity:  normal                 |   Resolution:           
 Keywords:  images uploader write  |  
-----------------------------------+----------------------------------------
Comment (by andy):

 The uploader uses a temporary negative post ID for attachments on posts
 that do not exist in the database. When it is first saved, any orphaned
 attachments are supposed to have their post_parent updated. I suspect the
 negative ID is being lost or ignored due to autosave.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3757#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list