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

oik_trace_reset_notes() should test if bw_invoke_shortcode exists #62

Closed bobbingwide closed 6 years ago

bobbingwide commented 6 years ago

I can't remember the exact scenario but there were instances when bw_invoke_shortcode was not available even when oik_require_lib( "oik-sc-help" ) had not worked.

I added a function_exists() for bw_invoke_shortcode() as protection.

Question:

Is this really necessary?