Skip to content

Commit

Permalink
fix a bug where new stylesheets would fail to be created.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arcath committed Feb 24, 2021
1 parent 3e30fd3 commit c518a13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp_enqueue_less.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
function wp_enqueue_less($key, $file, $variables){
$details = get_option('wp_enqueue_less_' . $key, new StdClass);

if(!$details->key){
if(!isset($details->key)){
$details->key = $key;
$details->file = $file;
$details->setting = 'wp_enqueue_less_' . $key;
Expand Down

0 comments on commit c518a13

Please sign in to comment.