Exemple #1
0
 public static function ajax_doScan_callback()
 {
     ignore_user_abort(true);
     self::$wordfence_wp_version = false;
     //This is messy, but not sure of a better way to do this without gauranteeing we get $wp_version
     require ABSPATH . 'wp-includes/version.php';
     self::$wordfence_wp_version = $wp_version;
     require 'wfScan.php';
     wfScan::wfScanMain();
 }
 public static function ajax_doScan_callback()
 {
     ignore_user_abort(true);
     self::$wordfence_wp_version = false;
     require ABSPATH . 'wp-includes/version.php';
     self::$wordfence_wp_version = $wp_version;
     require 'wfScan.php';
     wfScan::wfScanMain();
 }