Server IP : 172.67.214.6 / Your IP : 216.73.216.73 Web Server : LiteSpeed System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : redwjova ( 1790) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/redwjova/fyntric.com/wp-content/plugins/wp-super-cache/inc/ |
Upload File : |
<?php // phpcs:disable WordPress.Security.NonceVerification.Recommended function wpsc_preload_notification_scripts() { if ( isset( $_GET['page'] ) && $_GET['page'] === 'wpsupercache' && isset( $_GET['tab'] ) && $_GET['tab'] === 'preload' ) { wp_enqueue_script( 'preload-notification', plugins_url( '/js/preload-notification.js', __DIR__ ), array( 'jquery', 'wp-i18n' ), WPSC_VERSION_ID, true ); wp_localize_script( 'preload-notification', 'wpsc_preload_ajax', array( 'ajax_url' => admin_url( 'admin-ajax.php' ), 'preload_status' => wpsc_get_preload_status( true ), ) ); } } add_action( 'admin_footer', 'wpsc_preload_notification_scripts' );