Changeset 16293
- Timestamp:
- 11/11/2010 02:10:59 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r16244 r16293 1309 1309 1310 1310 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;1324 1311 case 'widgets-order' : 1325 1312 check_ajax_referer( 'save-sidebar-widgets', 'savewidgets' );
Note: See TracChangeset
for help on using the changeset viewer.