Skip to content

Commit

Permalink
Fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwebca committed Aug 31, 2023
1 parent b0724a0 commit 4187c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WordPressMenuClasses.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ public function navMenuCSSClass($classes, $item, $args, $depth)
}
if (property_exists($args, "li_class_order_$index")) {
$arr_classes = explode(' ', $args->{"li_class_order_$index"});
$classes = array_merge($classes, $arr_classes);
}
$classes = array_merge($classes, $arr_classes);


$classes = $this->fixWordPressClasses($classes);
Expand Down

0 comments on commit 4187c91

Please sign in to comment.