Changes in trunk/wp-admin/import.php [5204:4608]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import.php
r5204 r4608 18 18 if ($imports_dir) { 19 19 while (($file = $imports_dir->read()) !== false) { 20 if ( $file{0} == '.') {20 if (preg_match('|^\.+$|', $file)) 21 21 continue; 22 } elseif (substr($file, -4) == '.php') { 23 require_once($import_root . '/' . $file); 24 } 22 if (preg_match('|\.php$|', $file)) 23 require_once("$import_root/$file"); 25 24 } 26 25 }
Note: See TracChangeset
for help on using the changeset viewer.