No canonical-ness for wp-admin. see #4773

git-svn-id: http://svn.automattic.com/wordpress/trunk@5921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2007-08-23 03:40:51 +00:00
parent 276b690c7e
commit 68501fd51b
1 changed files with 1 additions and 1 deletions

View File

@ -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