[wp-trac] Re: [WordPress Trac] #9471: Attachments uploaded before post is saved or autosaved get 0 (zero) for post_parent (instead of temp_id value)

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 30 11:39:22 GMT 2009


#9471: Attachments uploaded before post is saved or autosaved get 0 (zero) for
post_parent (instead of temp_id value)
-------------------------+--------------------------------------------------
 Reporter:  aesqe        |        Type:  defect (bug)
   Status:  new          |    Priority:  normal      
Milestone:  2.8          |   Component:  Upload      
  Version:  2.8          |    Severity:  normal      
 Keywords:  needs_patch  |  
-------------------------+--------------------------------------------------

Comment(by hakre):

 Add a new post-state: init. then everything can be attached w/o even
 needing an autosave (that needs javascript, right? so what for those w/o
 js?!).

 posts with state init and without a recent change since a period of time
 (let's say 24 hours) can be deleted and cleaned up by cron.

 looks much more mature and failsafe to me.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9471#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list