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

Tracing being performed when the specific ip does not match. #17

Closed bobbingwide closed 4 years ago

bobbingwide commented 8 years ago

As noted in Issue #16, tracing is not being disabled if there is an IP mismatch. The test for if ( !$bw_trace_ip ) is no longer necessary. bw_trace_off() should be called if $tracing is false.

bobbingwide commented 6 years ago

In the latest version, the logic to restrict tracing to a specific IP has not yet been re-implemented. When it is re-implemented it will need to use improved logic to detect the correct current IP.

bobbingwide commented 4 years ago

The PHPUnit tests were failing while testing trace file reset logic. I needed to fiddle the logic to set an initial value for the trace_ip() method. A bit of a horrid hack. But who's NOT going to select the Reset trace file every transaction checkbox?

bobbingwide commented 4 years ago

The Trace specific IP field is documented: https://www.oik-plugins.com/wordpress-plugins-from-oik-plugins/free-oik-plugins/oik-trace-plugin/settings-oik-trace-options/trace-options-trace-records/