-// Load all importers so that they can register.
-$import_loc = 'wp-admin/import';
-$import_root = ABSPATH . $import_loc;
-
-if ( file_exists( $import_root ) ) {
- $imports_dir = opendir($import_root);
- if ($imports_dir) {
- while (($file = readdir($imports_dir)) !== false) {
- if ($file[0] == '.') {
- continue;
- } elseif (substr($file, -4) == '.php') {
- require_once($import_root . '/' . $file);
- }
- }
- }
- closedir( $imports_dir );
-}
-