Changeset 5935
- Timestamp:
- 08/23/2007 11:09:03 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin.php
r5820 r5935 78 78 } 79 79 80 if (! file_exists(ABSPATH . "wp-admin/import/$importer.php")) 81 wp_die(__('Cannot load importer.')); 82 83 include(ABSPATH . "wp-admin/import/$importer.php"); 80 // Allow plugins to define importers as well 81 if (! function_exists($wp_importers[$importer][2])) 82 { 83 if (! file_exists(ABSPATH . "wp-admin/import/$importer.php")) 84 { 85 wp_die(__('Cannot load importer.')); 86 } 87 include(ABSPATH . "wp-admin/import/$importer.php"); 88 } 84 89 85 90 $parent_file = 'edit.php';
Note: See TracChangeset
for help on using the changeset viewer.