Changeset 42343 for trunk/src/wp-admin/admin-post.php
- Timestamp:
- 11/30/2017 11:09:33 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/admin-post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/admin-post.php
r36709 r42343 14 14 } 15 15 16 if ( defined( 'ABSPATH') )17 require_once( ABSPATH . 'wp-load.php');18 else 16 if ( defined( 'ABSPATH' ) ) { 17 require_once( ABSPATH . 'wp-load.php' ); 18 } else { 19 19 require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' ); 20 } 20 21 21 22 /** Allow for cross-domain requests (from the front end). */ 22 23 send_origin_headers(); 23 24 24 require_once( ABSPATH . 'wp-admin/includes/admin.php');25 require_once( ABSPATH . 'wp-admin/includes/admin.php' ); 25 26 26 27 nocache_headers();
Note: See TracChangeset
for help on using the changeset viewer.