-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permit running requests as frontend vs. backend #18
Comments
A question about this one: is somehow possible atm to execute a profiling against /wp-admin/* urls? |
@pioneerskies I just tried, as I thought it would be a simple matter of adding an authorized |
Thanks @schlessera for the kind reply; this confirms my evidence :) |
Are they any news related to? |
The problem lays in load_wordpress_with_template method of profiler class ( called by run() ), which loads template-loader.php, and so triggering wp_redirect_admin_locations() attached to template_redirect filter. This could also be a step towards profiling ajax request #4 |
Any way to work around this? I really need to profile an admin page. Are there other ways to profile these in a simple way that doesnt involve xdebug or similar? |
So, I realize this is several years old, but HUGE thanks to @Kilbourne who provided the clues needed to solve this. I simply removed that hook and we're golden! I hope this helps out anyone else.
|
We should only load the request as backend when the user explicitly designates such:
The text was updated successfully, but these errors were encountered: