mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
No canonical-ness for wp-admin. see #4773
git-svn-id: https://develop.svn.wordpress.org/trunk@5921 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
function redirect_canonical() {
|
||||
global $wp_rewrite, $posts;
|
||||
|
||||
if ( is_feed() || is_trackback() || is_search() || is_comments_popup() )
|
||||
if ( is_feed() || is_trackback() || is_search() || is_comments_popup() || is_admin() )
|
||||
return;
|
||||
|
||||
// build the URL in the address bar
|
||||
|
||||
Reference in New Issue
Block a user