C:\xampp\htdocs\landing\wp-content\plugins\better-wp-security\core\modules\file-change\admin.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

final class ITSEC_File_Change_Admin {

    public static function 
enqueue_scanner() {
        
$logs_page_url ITSEC_Core::get_logs_page_url( array( 'module' => 'file_change' ) );

        
ITSEC_Lib::enqueue_util();
        
wp_enqueue_script'itsec-file-change-scanner'plugins_url'js/file-scanner.js'__FILE__ ), array( 'jquery''heartbeat''itsec-util' ), ITSEC_Core::get_plugin_build(), true );
        
wp_localize_script'itsec-file-change-scanner''ITSECFileChangeScannerl10n', array(
            
'button_text'          => __'Scan Files Now''better-wp-security' ),
            
'scanning_button_text' => __'Scanning...''better-wp-security' ),
            
'no_changes'           => __'No changes were detected.''better-wp-security' ),
            
'found_changes'        => sprintf__'Changes were detected. Please check the <a href="%s" target="_blank" rel="noopener noreferrer">logs</a> for details.''better-wp-security' ), esc_urladd_query_arg'id''#REPLACE_ID#'$logs_page_url ) ) ),
            
'unknown_error'        => __'An unknown error occured. Please try again later''better-wp-security' ),
            
'already_running'      => sprintf__'A scan is already in progress. Please check the <a href="%s" target="_blank" rel="noopener noreferrer">logs page</a> at a later time for the results of the scan.''better-wp-security' ), esc_url$logs_page_url ) ),
        ) );
    }
}

new 
ITSEC_File_Change_Admin();
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586