Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#12085 closed defect (bug) (fixed)

Media fails to delete from Add Media Thickbox or Delete Permanently link

Reported by: ev3rywh3re's profile ev3rywh3re Owned by:
Milestone: 3.0 Priority: normal
Severity: major Version: 3.0
Component: Media Keywords: has-patch tested
Focuses: Cc:

Description

Media will not delete using the delete link in the Media pop-up or using the delete permanently link under the edit media area. I can delete using the bulk options in the media area. WordPress responds with the blank fullpage - You sure you want to do this? Try again error.

Both test sites are WPMU 2.9.1.1 sites moved to WordPress Core SVN trunk. One is a Dreamhost PS site and the other is a personally maintained Fedora 12 SELinux server.

I didn't see another trac ticket nor did I dig into some of the possibly related merge tickets.

Attachments (1)

12085.diff (5.8 KB) - added by nacin 15 years ago.

Download all attachments as: .zip

Change History (6)

#1 @nacin
15 years ago

Some changes to the custom post type code broke the nonce check. Looks like there's a dozen or so we'll need to fix.

@nacin
15 years ago

#2 follow-up: @nacin
15 years ago

  • Keywords has-patch added; media removed

Should fix all instances.

#3 in reply to: ↑ 2 @ev3rywh3re
15 years ago

  • Cc ev3rywh3re added

Patch tested good on [12905]

#4 @nacin
15 years ago

  • Keywords tested added

#5 @ryan
15 years ago

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

(In [12972]) Fix delete media nonces. Props nacin. fixes #12085

Note: See TracTickets for help on using tickets.