Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#27387 closed defect (bug) (fixed)

DOING_AJAX in async-upload.php defined too late

Reported by: iseulde's profile iseulde Owned by: nacin's profile nacin
Milestone: 3.9 Priority: normal
Severity: normal Version: 3.5
Component: Media Keywords: has-patch
Focuses: Cc:


DOING_AJAX in async-upload.php is defined after including wp-load.php (during which actions such as 'init' are done), whereas in admin-ajax.php this is defined immediately.

Attachments (1)

27387.patch (737 bytes) - added by iseulde 10 years ago.

Download all attachments as: .zip

Change History (5)

10 years ago

#1 @iseulde
10 years ago

  • Keywords has-patch added

#2 @iseulde
10 years ago

  • Version set to 3.5

#3 @ocean90
10 years ago

  • Component changed from General to Media
  • Milestone changed from Awaiting Review to 3.9

Related: [22902]

Noticed this other day too. Patch looks good for me.

#4 @nacin
10 years ago

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

In 27558:

Define DOING_AJAX earlier in async-upload.php.

props avryl.
fixes #27387. see [22902].

Note: See TracTickets for help on using tickets.