Not Doing it Wrong
A WordPress plugin as a last resort to issues when doing_it_wrong() is too eager and we want to find out what is happening.
by itthinx · github.com/itthinx/not-doing-it-wrong · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/itthinx/not-doing-it-wrong/archive/refs/heads/master.zipA WordPress plugin as a last resort to issues when _doing_it_wrong() is too eager and we want to find out what is happening.
Description
This plugin is intended for developers to use as a tool to find issues.
It is ideally deployed temporarily as a MUST-USE plugin until issues have been identified.
This can be used to identify issues when _doing_it_wrong() is too eager and we want to find out what is happening.
Avoids triggering a user error for calls to _doing_it_wrong() and gathers information which is logged at shutdown.
The information logged includes originating functions, counts and stack traces.
The plugin file not-doing-it-wrong.php must be placed in mu-plugins so it can catch all instances.
The plugin will produce very extensive log entries!