Changeset 25616 for trunk/src/wp-admin/async-upload.php
- Timestamp:
- 09/25/2013 12:17:40 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/async-upload.php
r24593 r25616 12 12 require_once(ABSPATH . 'wp-load.php'); 13 13 else 14 require_once( '../wp-load.php');14 require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' ); 15 15 16 16 if ( ! ( isset( $_REQUEST['action'] ) && 'upload-attachment' == $_REQUEST['action'] ) ) { … … 25 25 } 26 26 27 require_once( './admin.php');27 require_once( ABSPATH . 'wp-admin/admin.php' ); 28 28 29 29 if ( !current_user_can('upload_files') )
Note: See TracChangeset
for help on using the changeset viewer.