installed plugin WPScan
version 1.15.1
This commit is contained in:
19
wp-content/plugins/wpscan/assets/js/deactivate.js
Normal file
19
wp-content/plugins/wpscan/assets/js/deactivate.js
Normal file
@ -0,0 +1,19 @@
|
||||
jQuery(document).ready(function($) {
|
||||
let link = $('#deactivate-wpscan');
|
||||
let deactivate = $('.wpscan-model .button-deactivate');
|
||||
let close = $('.wpscan-model .button-close');
|
||||
|
||||
deactivate.attr('href', link.attr('href'));
|
||||
|
||||
link.on('click', function (e) {
|
||||
e.preventDefault();
|
||||
|
||||
$('.wpscan-model').show()
|
||||
});
|
||||
|
||||
close.on('click', function (e) {
|
||||
e.preventDefault();
|
||||
|
||||
$('.wpscan-model').hide()
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user