mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-05 09:40:13 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user