Skip to content

Commit 5831dc1

Browse files
author
Mikhail Kobzarev
authored
Return lost argument scope
1 parent a92a929 commit 5831dc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Notice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function __construct( $id, $title, $message, $options = [] ) {
146146
$this->allowed_html = apply_filters( 'wptrt_admin_notices_allowed_html', $this->allowed_html );
147147

148148
// Instantiate the Dismiss object.
149-
$this->dismiss = new Dismiss( $this->id, $this->options['option_prefix'] );
149+
$this->dismiss = new Dismiss( $this->id, $this->options['option_prefix'], $this->options['scope'] );
150150
}
151151

152152
/**

0 commit comments

Comments
 (0)