Changeset 5867 for trunk/wp-admin/import.php
- Timestamp:
- 08/14/2007 02:58:33 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/import.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import.php
r5204 r5867 15 15 $import_loc = 'wp-admin/import'; 16 16 $import_root = ABSPATH.$import_loc; 17 $imports_dir = @ dir($import_root);17 $imports_dir = @ opendir($import_root); 18 18 if ($imports_dir) { 19 while (($file = $imports_dir->read()) !== false) {19 while (($file = readdir($imports_dir) !== false) { 20 20 if ($file{0} == '.') { 21 21 continue; … … 25 25 } 26 26 } 27 @closedir($imports_dir); 27 28 28 29 $importers = get_importers();
Note: See TracChangeset
for help on using the changeset viewer.