Skip to content

Commit

Permalink
Add new 'combinable' argument to Notice API
Browse files Browse the repository at this point in the history
  • Loading branch information
raamdev committed Mar 21, 2016
1 parent 4831ef4 commit 2106052
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/includes/traits/Plugin/NoticeUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ public function normalizeNotice(array $notice, array $args = [])
'notice' => '',
'only_on_uris' => '',
'persistent_key' => '',
'combinable' => false,
'dismissable' => true,
'is_transient' => true,
'push_to_top' => false,
Expand All @@ -293,6 +294,7 @@ public function normalizeNotice(array $notice, array $args = [])

case 'is_transient':
case 'push_to_top':
case 'combinable':
case 'dismissable':
$_value = (boolean) $_value;
break; // Stop here.
Expand Down

0 comments on commit 2106052

Please sign in to comment.