Changeset 22001
- Timestamp:
- 09/25/2012 03:55:32 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r21681 r22001 17 17 define( 'WP_ADMIN', true ); 18 18 19 /** Load WordPress Bootstrap */ 20 require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' ); 21 22 /** Allow for cross-domain requests (from the frontend). */ 23 send_origin_headers(); 24 19 25 // Require an action parameter 20 26 if ( empty( $_REQUEST['action'] ) ) 21 27 die( '0' ); 22 23 /** Load WordPress Bootstrap */24 require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );25 28 26 29 /** Load WordPress Administration APIs */
Note: See TracChangeset
for help on using the changeset viewer.