WordPress.org

Make WordPress Core

Changeset 10500


Ignore:
Timestamp:
02/04/09 17:49:11 (5 years ago)
Author:
ryan
Message:

Revert new LJ importer. see #8999

File:
1 edited

Legend:

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

    r10490 r10500  
    11591159 
    11601160    break; 
    1161 case 'lj-importer' : 
    1162     check_ajax_referer( 'lj-api-import' ); 
    1163     if ( !current_user_can( 'publish_posts' ) ) 
    1164         die('-1'); 
    1165     if ( empty( $_POST['step'] ) ) 
    1166         die( '-1' ); 
    1167  
    1168     include( ABSPATH . 'wp-admin/import/livejournal.php' ); 
    1169     $result = $lj_api_import->{ 'step' . ( (int) $_POST['step'] ) }(); 
    1170     if ( is_wp_error( $result ) ) 
    1171         echo $result->get_error_message(); 
    1172     die; 
    1173     break; 
    11741161default : 
    11751162    do_action( 'wp_ajax_' . $_POST['action'] ); 
Note: See TracChangeset for help on using the changeset viewer.