Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#13284 closed defect (bug) (fixed)

Scan for lost attachments broken

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

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

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

#2 @westi
16 years ago

  • Resolutionfixed
  • Status newclosed

(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.