Add install links to the importer list if popular importers are not present. see #13465

git-svn-id: http://svn.automattic.com/wordpress/trunk@14759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2010-05-20 19:20:25 +00:00
parent f0b4112f0c
commit 23aa576688
2 changed files with 38 additions and 1 deletions

View File

@@ -14,6 +14,9 @@
if ( !defined('WP_ADMIN') )
define('WP_ADMIN', TRUE);
if ( isset($_GET['import']) && !defined('WP_LOAD_IMPORTERS') )
define('WP_LOAD_IMPORTERS', true);
require_once(dirname(dirname(__FILE__)) . '/wp-load.php');
if ( get_option('db_upgraded') ) {