Timeline for Why are anonymous visitors logged in when they visit /user/[uid] page?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 23, 2017 at 21:33 | comment | added | arpitr | that's true!, just wanted to highlight global scope which I think Darren forgot to mention in the answer, thanks @Kevin :) | |
Feb 23, 2017 at 20:59 | comment | added | Kevin |
Typically $account is advised to prevent accidents like this
|
|
Feb 23, 2017 at 20:51 | comment | added | arpitr | just a small clarity, there is nothing wrong with $user, but issue comes after global $user; now onwards $user is pointing to global user object which is current user. | |
Feb 23, 2017 at 20:46 | history | edited | Darren | CC BY-SA 3.0 |
added 239 characters in body
|
Feb 23, 2017 at 20:41 | history | answered | Darren | CC BY-SA 3.0 |