=== Plugin Name === Contributors: mrlarner, neowang Donate link: http://example.com/ Tags: fix logout url Requires at least: 3.0.1 Tested up to: 3.8 Stable tag: 1.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Replace & amp; with & in the URL generated by wp_logout_url( $foo ) so WordPress doesn't ask user confirm logout == Description == I had a site that has two parts running two servers. I need to log out WP after log out the first part, here is my javascript: function sign_out(){ $.ajax({ type:”DELETE”, url: “/sign_out”, success: function(){ location.href = “”; }, failure: function(){ alert(“There is an error”); } }); } The problem is the url wp_logout_url() generates has & amp; instead of &, and that cause WordPress display a page asking user to confirm logout and it stays on that page even if user confirms. So this plugin solves the problem by replaceing & amp; with &. The code was written by mrlarner at this post http://wordpress.org/support/topic/wp_logout_url-not-redirecting. I just put it in this plugin for convenience. == Installation == 1. Upload `fix-logout-url.php` to the `/wp-content/plugins/fix-logout-url` directory 2. Activate the plugin through the 'Plugins' menu in WordPress == Frequently Asked Questions == == Screenshots == == Changelog == = 1.0 = * A change since the previous version. * Another change. = 0.5 = * List versions from most recent at top to oldest at bottom. == Upgrade Notice == == Arbitrary section ==