vaisor
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] admin-ajax error//Action call
function trx_addons_users_login_user() {
if ( ! trx_addons_get_option('login_via_ajax') ) return;
trx_addons_verify_nonce();
// etc...
function trx_addons_verify_nonce( $nonce = 'nonce', $mask = '' ) {
if ( empty( $mask ) ) {
$mask = admin_url('admin-ajax.php');
}
if ( ! wp_verify_nonce( trx_addons_get_value_gp( $nonce ), $mask ) ) {
trx_addons_forbidden();
}
}
function trx_addons_get_value_gp($name, $defa='') {
if (isset($_GET[$name])) $rez = $_GET[$name];
else if (isset($_POST[$name])) $rez = $_POST[$name];
else $rez = $defa;
return trx_addons_stripslashes($rez);
}Sorry for late response. Is this code sufficient?
Forum: Plugins
In reply to: [LiteSpeed Cache] admin-ajax errorFirst one is from trx addons, action – trx_addons_login_user. It uses trx_addons_verify_nonce function to check for nonce. I’m not sure how deep i should go, but inside I can see they use wp_verify_nonce right after trimming it. It’s nonce checking process, not generating it though, so I’m not sure if it’s enough.
Forum: Plugins
In reply to: [LiteSpeed Cache] admin-ajax errorYes, it contains nonce. Am I able to fix this somehow?
Forum: Plugins
In reply to: [LiteSpeed Cache] Page does not load on safari and images loading weirdlyAfter I resetted the site, I reconfigured everything again to a state everything works fine and fast. So I’d prefer it to stay that way.
Forum: Plugins
In reply to: [LiteSpeed Cache] Page does not load on safari and images loading weirdlyYeah, that works. Thanks for help.
Forum: Plugins
In reply to: [LiteSpeed Cache] Page does not load on safari and images loading weirdlyIt’s iphone safari. Page starts to load as normal, I can see images and texts loading. Suddenly everything goes blank and all I can see is a white page.
Forum: Plugins
In reply to: [WooCommerce] Change price of products in minicartOk, I solved this problem. The issue was I didn’t know, that cart renders itself after every update, not after page reload. I didn’t see any changes because I compared it right after code edit.
Forum: Plugins
In reply to: [LiteSpeed Cache] Tutor LMS YouTube video conflictit’s login-user-only
Forum: Plugins
In reply to: [LiteSpeed Cache] Tutor LMS YouTube video conflictReport number: YCIXNMTY
Forum: Plugins
In reply to: [LiteSpeed Cache] Tutor LMS YouTube video conflictLitespeed cache version: 6.5.1
Tutor LMS: 2.7.6
Tutor LMS Pro: 2.7.1