Be carefull when using login link!
-
Do not use sample code from description of this plugin! That is unsafe way!
Do not ever use code like
echo $_SERVER['REQUEST_URI'];
It opens door for potential XSS attack!This is right and safe way:
<a href="/wp-login.php?redirect_to=<?php echo esc_url_raw($_SERVER['REQUEST_URI']); ?>" class="simplemodal-login">Log In</a>
The topic ‘Be carefull when using login link!’ is closed to new replies.