[wp-trac] Re: [WordPress Trac] #8490: Media Library -
Attached/Unattached logic is flawed
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 4 23:54:27 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 hailin):
Also, suppose we update post_parent when user does click "insert into
post". When the same image (flower.jpg) is inserted into multiple posts,
(ex: post1, post2). But we can only keep one post_parent for flower.jpg
attachment, so let's say we end up recording 2. Then after some time,
post2 is deleted, so we reset post_parent of flower.jpg to 0, making it
Unattached. But, at this point, flower.jpg is still attached to post1.
--
Ticket URL: <http://trac.wordpress.org/ticket/8490#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list