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

trace shutdown sometimes can't find all the functions it needs #43

Closed bobbingwide closed 8 years ago

bobbingwide commented 8 years ago

In certain circumstances, if 'shutdown' is invoked earlier than expected, then the logic invoked attempts to call functions that haven't been loaded.

e.g.

bw_lazy_trace_count() should include a line to

oik_require( "includes\oik-actions.php", "oik-bwtrace" );
bobbingwide commented 8 years ago

Oh my! I got the slash the wrong way round!

oik_require( "includes/oik-actions.php", "oik-bwtrace" );