Skip to content

Commit

Permalink
send_origin_headers() in admin-post.php.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nacin committed Aug 16, 2013
1 parent f71a4ae commit d5c4413
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wp-admin/admin-post.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
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();
Expand Down

0 comments on commit d5c4413

Please sign in to comment.