Changeset 14968
- Timestamp:
- 05/27/2010 12:32:01 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/import.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import.php
r14966 r14968 55 55 $popular_importers = array( 56 56 'blogger' => array( __('Blogger'), __('Install the Blogger importer to import posts, comments, and users from a Blogger blog.'), 'install' ), 57 'wpcat2tag' => array(__('Categories and Tags Converter'), __('Install the category/tag converter to convert existing categories to tags or tags to categories, selectively.'), 'install' ),57 'wpcat2tag' => array(__('Categories and Tags Converter'), __('Install the category/tag converter to convert existing categories to tags or tags to categories, selectively.'), 'install', 'wp-cat2tag' ), 58 58 'livejournal' => array( __( 'LiveJournal' ), __( 'Install the LiveJournal importer to import posts from LiveJournal using their API.' ), 'install' ), 59 'movabletype' => array( __('Movable Type and TypePad'), __('Install the Movable Type importer to import posts and comments from a Movable Type or TypePad blog.'), 'install' ),59 'movabletype' => array( __('Movable Type and TypePad'), __('Install the Movable Type importer to import posts and comments from a Movable Type or TypePad blog.'), 'install', 'mt' ), 60 60 'opml' => array( __('Blogroll'), __('Install the blogroll importer to import links in OPML format.'), 'install' ), 61 61 'rss' => array( __('RSS'), __('Install the RSS importer to import posts from an RSS feed.'), 'install' ), … … 66 66 67 67 // If a popular importer is not registered, create a dummy registration that links to the plugin installer. 68 foreach ( array_keys($popular_importers) as $pop_importer) {68 foreach ( $popular_importers as $pop_importer => $pop_data ) { 69 69 if ( isset($importers[$pop_importer] ) ) 70 continue; 71 var_dump( $pop_data ); 72 if ( isset( $pop_data[3] ) && isset( $importers[ $pop_data[3] ] ) ) 70 73 continue; 71 74
Note: See TracChangeset
for help on using the changeset viewer.