Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#9368 closed defect (bug) (fixed)

WP_ADMIN needs to be true in flash uploader

Reported by: hailin Owned by:
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.8
Component: General Keywords:
Focuses: Cc:


<mdawaffe_lap_> eagleclaw: wp-admin/async-upload.php loads admin.php after wp-load.php, so WP_ADMIN is not defined by the time plugins are loaded.

It needs to be TRUE because some plugin tests this variable to make sure the URL is a admin one.

Attachments (1)

9368_admin.diff (470 bytes) - added by hailin 13 years ago.

Download all attachments as: .zip

Change History (3)

13 years ago


#1 @azaozz
13 years ago

  • Milestone changed from Unassigned to 2.8
  • Version set to 2.8

#2 @azaozz
13 years ago

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

(In [10827]) Define WP_ADMIN in flash uploader, props hailin, fixes #9368

Note: See TracTickets for help on using tickets.