Skip to content

Commit

Permalink
Format compression line
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Parisot authored Sep 3, 2021
1 parent dcd3f25 commit db4ce99
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Plugin.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ public function instantiateCompiler()
$this->compiler = new WPLessCompiler;
$this->compiler->setVariable('stylesheet_directory_uri', "'" . get_stylesheet_directory_uri() . "'");
$this->compiler->setVariable('template_directory_uri', "'" . get_template_directory_uri() . "'");
if(!defined('WP_DEBUG') || !WP_DEBUG) { $this->compiler->setFormatter('compressed'); }
if(!defined('WP_DEBUG') || !WP_DEBUG) {
$this->compiler->setFormatter('compressed');
}
}

/**
Expand Down

0 comments on commit db4ce99

Please sign in to comment.