Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#9368 closed defect (bug) (fixed)

WP_ADMIN needs to be true in flash uploader

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

Description

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

Download all attachments as: .zip

Change History (3)

@hailin
16 years ago

patch

#1 @azaozz
16 years ago

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

#2 @azaozz
16 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.