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:
Mark Jaquith 2007-08-23 03:40:51 +00:00
parent dac74f6c47
commit ca9bea927b
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
function redirect_canonical() { function redirect_canonical() {
global $wp_rewrite, $posts; 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; return;
// build the URL in the address bar // build the URL in the address bar