Skip to content

Commit

Permalink
Return lost argument scope
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Kobzarev authored Feb 10, 2020
1 parent a92a929 commit 5831dc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Notice.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public function __construct( $id, $title, $message, $options = [] ) {
$this->allowed_html = apply_filters( 'wptrt_admin_notices_allowed_html', $this->allowed_html );

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

/**
Expand Down

0 comments on commit 5831dc1

Please sign in to comment.