bobbingwide / oik-batch

Batch interface to WordPress
https://www.oik-plugins.com/oik-plugins/oik-batch
GNU General Public License v2.0
0 stars 0 forks source link

Don't call oik_batch_trace #26

Closed bobbingwide closed 5 years ago

bobbingwide commented 6 years ago

While developing PHPUnit tests for oik-bwtrace I found that having the BW_TRACE_ON constant set to true made it difficult to test some functions.

The pragmatic approach is to not call the oik_batch_trace function. Functions affected are oik_batch_loaded and oik-wp-loaded.

bobbingwide commented 5 years ago

I'm going to close this. The PHPUnit tests for oik-bwtrace, such as they were, did run to completion after the calls were commented out.