403Webshell
Server IP : 130.225.57.55  /  Your IP : 216.73.216.60
Web Server : Apache
System : Linux wp-vhost07 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /srv/www/reco2st.eu/https/wp-content/plugins/post-smtp/script/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /srv/www/reco2st.eu/https/wp-content/plugins/post-smtp/script/postman-smtp-conflict-notice.js
/**
 * Post SMTP Conflict Notice Dismissal Handler
 */
(function($) {
    'use strict';

    $(document).ready(function() {
        $(document).on('click', '.postman-smtp-conflict-notice .notice-dismiss', function(e) {
            e.preventDefault();
            
            var $notice = $(this).closest('.postman-smtp-conflict-notice');
            var noticeId = $notice.data('notice-id');
            
            if (!noticeId) {
                return;
            }
            
            // Check if localized data is available
            if (typeof postmanSmtpConflict === 'undefined' || !postmanSmtpConflict.nonce) {
                console.error('Post SMTP Conflict Notice: Localized data not available');
                return;
            }
            
            $.ajax({
                url: ajaxurl,
                type: 'POST',
                data: {
                    action: 'dismiss_smtp_conflict_notice',
                    nonce: postmanSmtpConflict.nonce,
                    notice_id: noticeId
                },
                success: function(response) {
                    if (response.success) {
                        $notice.fadeOut('fast', function() {
                            $(this).remove();
                        });
                    } else {
                        console.error('Failed to dismiss notice:', response.data);
                    }
                },
                error: function(xhr, status, error) {
                    console.error('AJAX error:', error);
                }
            });
        });
    });
})(jQuery);


Youez - 2016 - github.com/yon3zu
LinuXploit