Skip to content

Commit 145eb9e

Browse files
Merge pull request #5 from level-level/fix-required-params
Fixes required after optional parameters.
2 parents 3a1a9e0 + 86558cc commit 145eb9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wp_bem_menu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function __construct( $css_class_prefix ) {
3333

3434
// Check for children
3535

36-
public function display_element( $element, &$children_elements, $max_depth, $depth = 0, $args, &$output ) {
36+
public function display_element( $element, &$children_elements, $max_depth, $depth = 0, $args = array(), &$output = '' ) {
3737

3838
$id_field = $this->db_fields['id'];
3939

0 commit comments

Comments
 (0)