Make WordPress Core

Opened 16 years ago

Closed 15 years ago

#10620 closed defect (bug) (fixed)

Gallery of a Post wrongly displays trashed images in Editor

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

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 16 years ago.

Download all attachments as: .zip

Change History (5)

@hakre
16 years ago

#1 @hakre
16 years ago

  • Component changed from General to Gallery

#2 @hakre
16 years ago

  • Summary changed from Post wrongly displays trashed images to Gallery of a Post wrongly displays trashed images in Editor
  • Version changed from 2.9 to 2.8.4

#3 @ryan
15 years ago

  • Component changed from Gallery to Trash

#4 @azaozz
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.