The above critical warning in the site health screen was found to be caused by the line 61 in masquerade.php:
session_start();
Changing this to:
session_start( [
'read_and_close' => true,
] );
Resolved the error. I hope this helps others who find this problem.
Regards.
]]>How would I know that I am login as a masquerade or not?
Any hook which provides this kind of facility so we can get idea that we are login as masquerade or normal user
I need to show one button for admin only when they log in as masquerade
not for the normal user.
First off, thanks for the very helpful plugin! I like the masquerade link the User table, but I don’t like the one in the Admin bar. I don’t need to masquerade often enough to want it taking up space there (and shifting my whole menu over). How can I turn it off? It would be nice if this was a setting in a future version.
]]>Hi,
First, thanks for this plugin! It has turned out to be very useful on one of my recent sites.
The only problem I have is that, at least on the site I’m using it on, the hover drop down effect for the admin bar is activated outside of the actual bar. It opens when you get near it, not just when you hover over it. This presents a problem when there are links/buttons that are near the top of a page
. I have found if I approach the Masquerade bar very slowly, so it thinks I am not a threat, it does not do this.
If i move too fast towards it, it might be smelling my fear. Dunno…
Otherwise, it works awesome so far! Thanks for the hard work! Let me know if there is ever a fix.
]]>