WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#13284 closed defect (bug) (fixed)

Scan for lost attachments broken

Reported by: 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)

comment:1 @westi5 years ago

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

comment:2 @westi5 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.