[wp-trac] Re: [WordPress Trac] #8490: Media Library - Attached/Unattached logic is flawed

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 5 00:35:32 GMT 2008


#8490: Media Library - Attached/Unattached logic is flawed
---------------------+------------------------------------------------------
 Reporter:  hailin   |        Owner:  anonymous
     Type:  defect   |       Status:  new      
 Priority:  high     |    Milestone:  2.7      
Component:  General  |      Version:           
 Severity:  major    |   Resolution:           
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by azaozz):

 Replying to [comment:5 hailin]:
 > The tricky part is that user may or may not click "insert into post"
 button.
 > User can just copy and paste the "file url" into Write post box.

 Yes, but very few users would open the uploader popup and copy/paste the
 url instead of just clicking Insert into post.

 > Plus, the same image URL can be inserted or pasted into multiple posts,
 then the
 > post_parent notion becomes ambiguous. Imagine when we need to build more
 logic
 > on that 1-1 assumption...

 The attachment would be "attached" on insert only if it's an orphan.

 For 2.8 we will have to rethink the attachment/parent concept. Perhaps
 unattached media can be allowed or extra info added as post meta. With the
 current system, there would always be "lost" attachments when the parent
 post is deleted.

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


More information about the wp-trac mailing list