[wp-trac] [WordPress Trac] #6389: Attachments added before first manual Save are lost from the post

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 26 10:16:24 GMT 2008


#6389: Attachments added before first manual Save are lost from the post
----------------------------+-----------------------------------------------
 Reporter:  markjaquith     |       Owner:  andy
     Type:  defect          |      Status:  new 
 Priority:  high            |   Milestone:  2.5 
Component:  Administration  |     Version:  2.5 
 Severity:  blocker         |    Keywords:      
----------------------------+-----------------------------------------------
 1. New Post
  1. Add Media
  1. Add content to post
  1. Manually save post
  1. Note that media is no longer attached to the post

 OR

  1. New Post
  1. Add content to post
  1. Allow autosave to fire, giving the post a "positive" ID
  1. Add media
  1. Manually Save Post
  1. Note that media is no longer attached to the post

 We need to have autosave:

  1. reparent attachments uploaded on a temporary ID
  1. dynamically replace the temporary ID with the new "positive" ID in the
 Add Media hrefs

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6389>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list