mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
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:
parent
276b690c7e
commit
68501fd51b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user