Done !
| Server IP : 54.36.91.62 / Your IP : 216.73.216.38 Web Server : Apache System : Linux webm008.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : awaywithxm ( 25098) PHP Version : 7.0.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/awaywithxm/www/wp-content/plugins/secupress/assets/admin/js/ |
Upload File : |
/* globals jQuery: false, ajaxurl: false, SecuPressi18nNotices: false */
(function($, d, w, undefined) {
// Make our notices dismissible.
$( ".notice.secupress-is-dismissible" ).each( function() {
var $this = $( this ),
noticeId = $this.data( "id" ),
$button, btnText;
if ( undefined !== noticeId && noticeId ) {
$button = $this.find( ".notice-dismiss" );
} else {
noticeId = false;
$button = $( '<button type="button" class="notice-dismiss"><span class="screen-reader-text"></span></button>' );
btnText = SecuPressi18nNotices.dismiss || '';
// Ensure plain text
$button.find( ".screen-reader-text" ).text( btnText );
// Add the button
$this.append( $button );
}
$button.on( "click.wp-dismiss-notice", function( e ) {
e.preventDefault();
if ( noticeId ) {
$.post( ajaxurl, {
action: "secupress_dismiss-notice",
notice_id: noticeId,
_wpnonce: SecuPressi18nNotices.nonce
} );
}
$this.fadeTo( 100 , 0, function() {
$( this ).slideUp( 100, function() {
$( this ).remove();
} );
} );
} );
} );
} )(jQuery, document, window);