[Plugin: UserSidebarPanel] Logout link doesn’t work anymore with version 2.7
-
The login link doesn’t work anymore.
I replaced the lines
echo '<li><a href="'.get_bloginfo('wpurl').'/wp-login.php?action=logout&redirect_to='.get_option('siteurl').'" title="'.$usp_language['logout'].'" >'.$usp_language['logout'].'</a></li>';
with
echo ‘<li><a href=”‘.wp_logout_url().’” title=”‘.$usp_language['logout'].’” >’.$usp_language['logout'].’</a></li>’;
and it worked for a while, but when I tried to re-apply the same fix to a re-install I get a 500 error, even for my admin pages which is very strange.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Plugin: UserSidebarPanel] Logout link doesn’t work anymore with version 2.7’ is closed to new replies.