[wp-trac] [WordPress Trac] #14639: Posts in the Trash drag attachment pages down with them

WordPress Trac noreply at wordpress.org
Mon May 19 20:11:33 UTC 2014


#14639: Posts in the Trash drag attachment pages down with them
--------------------------+--------------------
 Reporter:  markel        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.0
Component:  Media         |     Version:  3.0.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+--------------------
Changes (by azaozz):

 * milestone:  Awaiting Review => 4.0


Comment:

 Ran into this again. Somewhat more common user case:

 - Create new post, upload couple of images and publish it.
 - Trash it.
 - Create another post, add a gallery that includes the above images and
 publish it.
 - In that gallery the above images are linked to non-existing pages (404).

 Not sure what is the best behavior here. Perhaps when moving a post to the
 trash all attachments have to be "unattached" from it. Doesn't make sense
 to "trash" the attachment pages when the attached files are still
 accessible.

 Then we can add some special meta to keep track of them and re-attach in
 case the post is restored, and the attachments haven't been attached
 elsewhere.

 Moving to 4.0 for consideration.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/14639#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list