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:
- $link = $before . '<a href="' . get_settings('siteurl') . '/wp-login.php?action=logout">' . $log_yes . '</a>' . $after;
with the below code or something similar:
- $link = $before . '<a href="' . wp_logout_url(get_permalink()) . 'title=">' . $log_yes . '</a>' . $after;
This should resolve the problem.