Created
July 1, 2015 17:31
-
-
Save mgratch/4bac42771775861c4d95 to your computer and use it in GitHub Desktop.
Find the redirects!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (!is_admin()){ | |
add_filter( 'wp_redirect', function () { debug_print_backtrace(); exit; },999 ); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment