PATH:
home
/
centosnipponia
/
public_html
/
nipponiacar
/
wp-content
/
plugins
/
wp-super-cache
/
inc
/* global wpsc_ajax */ ( function ( $ ) { $( document ).ready( function () { $( '#wp-admin-bar-delete-cache' ).on( 'click', function () { $( '#wp-admin-bar-delete-cache' ).fadeOut( 'slow' ); $.ajax( { type: 'post', dataType: 'json', url: wpsc_ajax.ajax_url, data: { // wp ajax action action: 'ajax-delete-cache', path: wpsc_ajax.path, admin: wpsc_ajax.admin, // send the nonce along with the request nonce: wpsc_ajax.nonce, }, success: function () { if ( wpsc_ajax.admin === '1' ) { // eslint-disable-next-line no-console console.log( 'Deleted entire cache' ); } else { // eslint-disable-next-line no-console console.log( 'Deleted cache for this page and reloading' ); } window.location.reload(); }, complete: function () { $( '#wp-admin-bar-delete-cache' ).fadeIn( 'slow' ); }, } ); return false; } ); } ); } )( jQuery );
[+]
..
[-] boost.php
[edit]
[-] delete-cache-button.js
[edit]
[-] delete-cache-button.php
[edit]
[-] preload-notification.php
[edit]
[-] .htaccess.disabled
[edit]