Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#12683 closed defect (bug) (fixed)

Missing function dependency for wp-ajax.php

Reported by: sivel's profile sivel Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: General Keywords: has-patch
Focuses: Cc:

Description

wp-ajax.php is currently broken because it attempts to call send_nosniff_header() which resides in wp-admin/includes/misc.php

Attachments (1)

12683.diff (1.5 KB) - added by sivel 15 years ago.
Move send_nosniff_header to wp-includes/functions.php

Download all attachments as: .zip

Change History (4)

@sivel
15 years ago

Move send_nosniff_header to wp-includes/functions.php

#1 @sivel
15 years ago

  • Cc matt@… added
  • Keywords hash-patch added
  • Owner sivel deleted
  • Status changed from new to assigned

Attached patch moves send_nosniff_header to wp-includes/functions.php since it is now used in both the frontend and the admin.

#2 @sivel
15 years ago

  • Keywords has-patch added; hash-patch removed

#3 @nacin
15 years ago

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

(In [13806]) Move send_nosniff_header() into wp-includes so it can be used in wp-ajax.php. props sivel, fixes #12683

Note: See TracTickets for help on using tickets.