Technology Insights

WordPress JPF Login/Out Plugin Logout Not Working After Upgrading to WordPress 2.7

I use the JPF Login/Out plugin to display text at the top of a WordPress site and after upgrading to WordPress 2.7 the logout link stopped working. After reading in the WordPress Codex it appears that the wp_logout_url was added to provide a nonce-protected URL that can be used during logout.

In the jpf_loginout.php file on line 17 change the below:


  1. $link = $before . '<a href="' . get_settings('siteurl') . '/wp-login.php?action=logout">' . $log_yes . '</a>' . $after;