| Server IP : 37.27.51.148 / Your IP : 37.27.51.148 Web Server : nginx/1.14.1 System : Linux libra 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 20:24:04 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.31 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/plugins/thrive-comments/thrive-dashboard/inc/auth-check/ |
Upload File : |
( function ( $ ) {
const $document = $( document );
$document.on( 'heartbeat-tick.wp-auth-check', function ( e, data ) {
if ( 'wp-auth-check' in data && ! data[ 'wp-auth-check' ] ) {
/* when opening the auth iframe popup, add our user key field so we can identify him */
setTimeout( function () {
$( '#wp-auth-check-frame' ).off( 'load.tvd' ).on( 'load.tvd', function () {
$( '#wp-auth-check-frame' ).contents().find( 'form#loginform' ).append( '<input type="hidden" name="tvd_auth_check_user_key" value="' + tvd_auth_check.userkey + '">' );
} );
} )
}
} );
/* after login, trigger and event on the document where other plugins can listen */
window.tvd_after_auth = function ( data ) {
$document.trigger( 'tvd_after_auth', data );
}
} )( jQuery );