From d5c4413aaa41e209d8a3295c25879989bdcc5c06 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 16 Aug 2013 19:59:08 +0000 Subject: [PATCH] send_origin_headers() in admin-post.php. props nickdaugherty, fixes #24600. Built from https://develop.svn.wordpress.org/trunk@25036 git-svn-id: http://core.svn.wordpress.org/trunk@25023 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-post.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-admin/admin-post.php b/wp-admin/admin-post.php index f4af998e33..6b5bdd353d 100644 --- a/wp-admin/admin-post.php +++ b/wp-admin/admin-post.php @@ -14,6 +14,9 @@ if ( defined('ABSPATH') ) else require_once('../wp-load.php'); +/** Allow for cross-domain requests (from the frontend). */ +send_origin_headers(); + require_once(ABSPATH . 'wp-admin/includes/admin.php'); nocache_headers();