Skip to content

Commit

Permalink
Issue #54 - When turning trace on don't use suffix for option field n…
Browse files Browse the repository at this point in the history
…ames
  • Loading branch information
bobbingwide committed Apr 23, 2018
1 parent 784b51e commit 4813cd7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions includes/class-trace-command.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4813cd7

Please sign in to comment.