mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Add install links to the importer list if popular importers are not present. see #13465
git-svn-id: https://develop.svn.wordpress.org/trunk@14759 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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') ) {
|
||||
|
||||
Reference in New Issue
Block a user