How to override WP_DEBUG for Ajax responses?

It is highly recommended practice (that I completely agree with) to develop with WP_DEBUG enabled. However it is merely inconvenient to see not yet fixed warnings in pages, but in Ajax responses they ruin response completely.

I am just starting with Ajax in WP, is there some appropriate hook to suppress errors for Ajax responses only?

Read More

PS fix everything is not viable option at moment, because it is extremely extensive and complex environment 🙂

Related posts

Leave a Reply

1 comment