-
-
Notifications
You must be signed in to change notification settings - Fork 231
Open
Labels
Description
The redirect dispatcher is currently checking for did_action( 'wp' ) or did_action( 'login_init' ) to become active:
query-monitor/dispatchers/Redirect.php
Lines 74 to 83 in 9d66654
| # Don't process if the minimum required actions haven't fired: | |
| if ( is_admin() ) { | |
| if ( ! did_action( 'admin_init' ) ) { | |
| return false; | |
| } | |
| } else { | |
| if ( ! ( did_action( 'wp' ) || did_action( 'login_init' ) ) ) { | |
| return false; | |
| } | |
| } |
This leads to missing most of the WP core canonical redirects which happen during template_redirect
Consider relaxing the logic to capture as many redirects as possible.