Forum constantly reloads when not logged in.

User avatar
axew3
w3all User
w3all User
Posts: 2689
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Forum constantly reloads when not logged in.

Post by axew3 »

default addons/page-forum.php file on plugin repository has been patched to resolve definitively this issue, as said above, it substitute this line of code:

Code: Select all

var wp_u_logged = ".$current_user->ID.";
with this:

Code: Select all

var wp_u_logged = ".get_current_user_id().";
i assume the wrong result may was given by the previous code, on different Php versions. It do not return the same into my tests
Post Reply