Changeset 7999 for trunk/wp-admin/import/mt.php
- Timestamp:
- 05/27/2008 05:55:24 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/mt.php
r7883 r7999 180 180 function select_authors() { 181 181 if ( $_POST['upload_type'] === 'ftp' ) { 182 $file['file'] = ABSPATH . 'wp-content/mt-export.txt';182 $file['file'] = WP_CONTENT_DIR . '/mt-export.txt'; 183 183 if ( !file_exists($file['file']) ) 184 184 $file['error'] = __('<code>mt-export.txt</code> does not exist'); … … 427 427 $this->id = (int) $_GET['id']; 428 428 if ( $this->id == 0 ) 429 $this->file = ABSPATH . 'wp-content/mt-export.txt';429 $this->file = WP_CONTENT_DIR . '/mt-export.txt'; 430 430 else 431 431 $this->file = get_attached_file($this->id);
Note: See TracChangeset
for help on using the changeset viewer.