Make WordPress Core

Changeset 25036


Ignore:
Timestamp:
08/16/2013 07:58:42 PM (10 years ago)
Author:
nacin
Message:

send_origin_headers() in admin-post.php.

props nickdaugherty, fixes #24600.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/admin-post.php

    r19712 r25036  
    1515    require_once('../wp-load.php');
    1616
     17/** Allow for cross-domain requests (from the frontend). */
     18send_origin_headers();
     19
    1720require_once(ABSPATH . 'wp-admin/includes/admin.php');
    1821
Note: See TracChangeset for help on using the changeset viewer.