mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 06:29:30 +00:00
Define WP_IMPORTING for lj-importer. see #8999
git-svn-id: http://svn.automattic.com/wordpress/trunk@10580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b5a65633d0
commit
4161f3bc32
@ -1179,7 +1179,7 @@ case 'lj-importer' :
|
||||
die('-1');
|
||||
if ( empty( $_POST['step'] ) )
|
||||
die( '-1' );
|
||||
|
||||
define('WP_IMPORTING', true);
|
||||
include( ABSPATH . 'wp-admin/import/livejournal.php' );
|
||||
$result = $lj_api_import->{ 'step' . ( (int) $_POST['step'] ) }();
|
||||
if ( is_wp_error( $result ) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user