Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#9368 closed defect (bug) (fixed)

WP_ADMIN needs to be true in flash uploader

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

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

Download all attachments as: .zip

Change History (3)

@hailin
18 years ago

patch

#1 @azaozz
18 years ago

  • Milestone Unassigned2.8
  • Version2.8

#2 @azaozz
18 years ago

  • Resolutionfixed
  • Status newclosed

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

Note: See TracTickets for help on using tickets.