mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Chop this off as we don't need it anymore. Fixes #13960 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1c03323cba
commit
3e1e19a477
@ -1307,19 +1307,6 @@ case 'find_posts':
|
||||
));
|
||||
$x->send();
|
||||
|
||||
break;
|
||||
case 'lj-importer' :
|
||||
check_ajax_referer( 'lj-api-import' );
|
||||
if ( !current_user_can( 'publish_posts' ) )
|
||||
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 ) )
|
||||
echo $result->get_error_message();
|
||||
die;
|
||||
break;
|
||||
case 'widgets-order' :
|
||||
check_ajax_referer( 'save-sidebar-widgets', 'savewidgets' );
|
||||
|
Loading…
Reference in New Issue
Block a user