PATH:
home
/
letacommog
/
entrepro
/
wp-content
/
plugins
/
wp-all-import
/
actions
<?php function pmxi_wp_ajax_import_failed(){ if ( ! check_ajax_referer( 'wp_all_import_secure', 'security', false )){ exit( json_encode(array('result' => false, 'msg' => __('Security check', 'wp_all_import_plugin'))) ); } if ( ! current_user_can( PMXI_Plugin::$capabilities ) ){ exit( json_encode(array('result' => false, 'msg' => __('Security check', 'wp_all_import_plugin'))) ); } extract($_POST); $import = new PMXI_Import_record(); $import->getbyId($id); $result = false; if ( ! $import->isEmpty()){ $import->set(array( 'executing' => 0, 'last_activity' => date('Y-m-d H:i:s'), 'failed' => 1, 'failed_on' => date('Y-m-d H:i:s') ))->save(); $result = true; } exit( json_encode( array('result' => $result))); }
[+]
..
[-] admin_notices.php
[edit]
[-] delete_post.php
[edit]
[-] admin_head.php
[edit]
[-] add_attachment.php
[edit]
[-] pmxi_after_xml_import.php
[edit]
[-] wp_ajax_dismiss_notifications.php
[edit]
[-] wp_ajax_auto_detect_sf.php
[edit]
[-] admin_menu.php
[edit]
[-] wp_ajax_delete_import.php
[edit]
[-] pmxi_before_xml_import.php
[edit]
[-] wp_ajax_import_failed.php
[edit]
[-] wp_ajax_auto_detect_cf.php
[edit]
[-] wpmu_new_blog.php
[edit]
[-] wp_ajax_test_images.php
[edit]
[-] admin_init.php
[edit]
[-] attachment_updated.php
[edit]