Skip to content

Commit

Permalink
Fix type definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
bueltge committed Aug 9, 2016
1 parent dfbc3b5 commit 2d475de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inc-setup/admin-bar-items.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ function _mw_adminimize_change_admin_bar() {
}
}

// New declaration of type for array reduce.
$disabled_admin_bar_option_ = array();
// Merge multidimensional array in to one, flat.
$disabled_admin_bar_option_ = (array) array_reduce( $disabled_admin_bar_option_, 'array_merge', array() );

Expand Down

0 comments on commit 2d475de

Please sign in to comment.