bobbingwide / oik-bwtrace

debug trace for WordPress
https://www.oik-plugins.com/oik-plugins/oik-bwtrace-debug-trace-for-wordpress/
GNU General Public License v2.0
6 stars 1 forks source link

Ensure BW_TRACE_level constants are defined when back level /libs/bwtrace.php loaded #4

Closed bobbingwide closed 9 years ago

bobbingwide commented 9 years ago

libs/bwtrace.php is a shared library file delivered by oik-bwtrace and also by the oik-lib and oik plugins. If these are active, particularly the MU version of oik-lib, then we get Notices when the new BW_TRACE_level constants are used but not defined. We need to ensure that the constants are defined regardless of the level of the bwtrace shared library file.

bobbingwide commented 9 years ago

Fixed in v2.0.6 https://github.com/bobbingwide/oik-bwtrace/commit/eba14e04e69ac285a456d143c69c03fd70b88f79