send_origin_headers() in admin-post.php.

props nickdaugherty, fixes #24600.



git-svn-id: https://develop.svn.wordpress.org/trunk@25036 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2013-08-16 19:58:42 +00:00
parent ea7196081f
commit 38b4ca010a

View File

@@ -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();