From 4813cd7f9847705a0e120c8ad5ee250f1b4b494f Mon Sep 17 00:00:00 2001 From: Herb Miller Date: Mon, 23 Apr 2018 13:06:18 +0100 Subject: [PATCH] Issue #54 - When turning trace on don't use suffix for option field names --- includes/class-trace-command.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/class-trace-command.php b/includes/class-trace-command.php index b69bfb3..5779a87 100644 --- a/includes/class-trace-command.php +++ b/includes/class-trace-command.php @@ -180,13 +180,13 @@ private function trace_on( $type, $args, $assoc_args ) { // No need to get_option for trace $this->set_option( "trace", true, "on" ); - $trace_file = $this->get_option( "file", true ); + $trace_file = $this->get_option( "file", false ); $this->set_option( "file", true, $trace_file ); - $reset = $this->get_option( "reset", true ); + $reset = $this->get_option( "reset", false ); $this->set_option( "reset", true, $reset ); - $limit = $this->get_option( "limit", true ); + $limit = $this->get_option( "limit", false ); $this->set_option( "limit", true, $limit ); $this->update_options();