| Server IP : 167.99.254.82 / Your IP : 216.73.216.76 Web Server : Apache System : Linux host.techisquad.com 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64 User : pawluxera ( 1011) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/pawluxera/public_html/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' );