WordPress.org

Make WordPress Core

Changeset 16293


Ignore:
Timestamp:
11/11/2010 02:10:59 PM (10 years ago)
Author:
westi
Message:

Chop this off as we don't need it anymore. Fixes #13960 props filosofo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-ajax.php

    r16244 r16293  
    13091309
    13101310    break;
    1311 case 'lj-importer' :
    1312     check_ajax_referer( 'lj-api-import' );
    1313     if ( !current_user_can( 'publish_posts' ) )
    1314         die('-1');
    1315     if ( empty( $_POST['step'] ) )
    1316         die( '-1' );
    1317     define('WP_IMPORTING', true);
    1318     include( ABSPATH . 'wp-admin/import/livejournal.php' );
    1319     $result = $lj_api_import->{ 'step' . ( (int) $_POST['step'] ) }();
    1320     if ( is_wp_error( $result ) )
    1321         echo $result->get_error_message();
    1322     die;
    1323     break;
    13241311case 'widgets-order' :
    13251312    check_ajax_referer( 'save-sidebar-widgets', 'savewidgets' );
Note: See TracChangeset for help on using the changeset viewer.