Improve doing_it_wrong() and stop it from breaking WP — at Version 15
|Reported by:||azaozz||Owned by:|
Description (last modified by azaozz)
The output of _doing_it_wrong() when WP_DEBUG_DISPLAY is true is somehow not that useful. Perhaps we can do a backtrace there. This would also help beginner PHP programmers a lot.
Edit: storing the warnings in a global when WP_DEBUG_DISPLAY is true and outputting them at the top of the screen is a worthy enhancement too.