Make WordPress Core

Opened 8 years ago

Closed 7 years ago

#24600 closed enhancement (fixed)

send_origin_headers from admin-post.php

Reported by: nickdaugherty Owned by: nacin
Milestone: 3.7 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch commit
Focuses: Cc:


/wp-admin/admin-post.php should call send_origin_headers() to send cross domain access headers for allowing POSTs from frontend requests in the same way admin-ajax.php does. admin-ajax.php ticket for reference: #21024

Patch attached to add this functionality.

Attachments (1)

send_origin_headers.admin_post.diff (412 bytes) - added by nickdaugherty 8 years ago.
Adds send_origin_headers() for cross domain requests

Download all attachments as: .zip

Change History (4)

8 years ago

Adds send_origin_headers() for cross domain requests

#1 @batmoo
8 years ago

  • Cc batmoo@… added

#2 @dd32
7 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 3.7

"Anything you can do, I can do better; Anything I can do, you can do too"

This seems pretty sane and ideal for consistency.

#3 @nacin
7 years ago

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

In 25036:

send_origin_headers() in admin-post.php.

props nickdaugherty, fixes #24600.

Note: See TracTickets for help on using tickets.