Skip to content
Browse files

Merge pull request #52 from joshbetz/patch-1

Don't redirect in wp-admin
  • Loading branch information...
2 parents a74c801 + b39fdd5 commit 97e0542ff7ee411aca53ffc869328395c73a7406 @danielbachhuber danielbachhuber committed Feb 10, 2014
Showing with 4 additions and 0 deletions.
  1. +4 −0 safe-redirect-manager.php
View
4 safe-redirect-manager.php
@@ -776,6 +776,10 @@ public function update_redirect_cache() {
* @return void
*/
public function action_parse_request() {
+
+ // Don't redirect from wp-admin
+ if ( is_admin() )
+ return;
// get redirects from cache or recreate it
if ( false === ( $redirects = get_transient( $this->cache_key_redirects ) ) ) {

0 comments on commit 97e0542

Please sign in to comment.
Something went wrong with that request. Please try again.