Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#13284 closed defect (bug) (fixed)

Scan for lost attachments broken

Reported by: westi's profile westi Owned by:
Milestone: 3.0 Priority: high
Severity: major Version: 3.0
Component: Media Keywords:
Focuses: Cc:

Description

The scan for lost attachments appears completely broken.

Just get an AYS message.

Url like:

http://trunk.domain/wp-admin/upload.php?find_detached=Scan+for+lost+attachments&affected=&_ajax_nonce=xxxxxxxx&ps=&find-posts-what=posts

Change History (2)

#1 @westi
15 years ago

This looks like it is because we output the nonce only when at least one media item exists.

#2 @westi
15 years ago

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

(In [14548]) Ensure the nonce is available even if no media items exist or are un-attached. Fixes #13284.

Note: See TracTickets for help on using tickets.