Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#10620 closed defect (bug) (fixed)

Gallery of a Post wrongly displays trashed images in Editor

Reported by: hakre Owned by:
Priority: normal Milestone: 2.9
Component: Trash Version: 2.8.4
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

If you trash attachments in the admin/multimedia , the gallery of a post (in the admin) still displays the trashed images. You can test this by uploading 10 pictures and trash 5 of them. In the admin, the gallery of a post will still display 10 images instead of 5.

The gallery on the frontend does handle it properly.

The attached patch fixes this behaviour. Fixed against current SVN.

Because it is a display problem with already implemented features, I have not added it to #4529 which is about to be implemented features.

Attachments (1)

10620.patch (1.3 KB ) - added by hakre 17 years ago.

Download all attachments as: .zip

Change History (5)

@hakre
17 years ago

#1 @hakre
17 years ago

  • Component GeneralGallery

#2 @hakre
17 years ago

  • Summary Post wrongly displays trashed imagesGallery of a Post wrongly displays trashed images in Editor
  • Version 2.92.8.4

#3 @ryan
17 years ago

  • Component GalleryTrash

#4 @azaozz
17 years ago

  • Resolutionfixed
  • Status newclosed

This seems to have been fixed when adding the Undo for trashed attachments.

Note: See TracTickets for help on using tickets.