wp_w3all 1.3.8 and Ajax frontend login widgets plugins

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: wp_w3all 1.3.8 and Ajax frontend login widgets plugins

wp_w3all 1.3.8 and Ajax frontend login widgets plugins

by axew3 » Sun May 22, 2016 10:44 pm

About Fix compatibility with ajax login plugins, ReCaptcha on frontend widget and remember me logins: from 1.3.8 >

Easy explain :
If login is done by an ajax plugin via his front-end widget and not via wp-login.php classic wp login page, and the $_POST array have been reset by some of his function, $_POST['rememberme'] var will be empty onlogin: so the function phpBB_user_session_set() on wp_w3all will never set a remember me cookie for phpBB.
Unique solution in this case, for those that like to use by the way an ajax front-end widget that maybe reset $_POST, is to comment, on wp_w3all function phpBB_user_session_set() inside file class.wp.w3all-phpbb.php, the two instructions that start with:

Code: Select all

 if (! empty( $_POST['rememberme'] )){
....
}
Will be added as option on next versions for those that like to use in any case an ajax front-end widget and that reset $_POST, without editing nothing manually. If any help needed in the while, just post.

Top