Remove WP Canonical URL Admin Hack

WordPress plugin to remove canonical URLs from Admin Area. useful for Reversed Proxie/Multi Site Installations. Stops the wp_admin_canonical_url red

Author:MrJamesMyers (profile at wordpress.org)
WordPress version required:4.2
WordPress version tested:4.2.1
Plugin version:1.0.0
Added to WordPress repository:29-04-2015
Last updated:27-04-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://mrjamesmyers.co.uk
Total downloads:691
Active installs:60+
plugin download
Click to start download

When you upgrade to WordPress 4.2, canonical URLS are added to wp-admin area. There is then a JavaScript function that checks window.history.replaceState against the canonical URL and then does a location redirect.

This is usually fine. However if your blog is a multisite installation that is reverse proxied as a subsection of your site this may results in undesired behaviour for instance when trying to publish a post the page just redirects instead of updating.