-
Notifications
You must be signed in to change notification settings - Fork 821
Debug should not break XML/JSON #25583
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
Comments
It'd be good to also include Related Automattic/wp-super-cache#22 |
Actually, I don't think v1 support is all that important anymore. I think most custom v1 endpoints have migrated to v2, or will soon. |
Fixes Automattic#22 Fixes Automattic#114 See #79
Fixes Automattic#22 Fixes Automattic#114 See #79
Fixes Automattic#22 Fixes Automattic#114 See #79
Fixes Automattic#22 Fixes Automattic#114 See #79
Fixes Automattic#22 Fixes Automattic#114 See #79
Fixes Automattic#22 Fixes Automattic#114 See #79
ref: |
While that strpos will more than likely stop the plugin writing out html comments to non-html content we could also add in checks for those constants. I merged in a change that checked for various REST protocols yesterday, so the wp_cache_add_to_buffer() function could do something similar.. |
We should probably not output any debug messages if
DOING_AJAX
,XMLRPC_REQUEST
, orREST_REQUEST
.The text was updated successfully, but these errors were encountered: