Dismissing Notices
Designated users can permanently dismiss info and nag notices. Here’s how dismissal works for each notice type.
Notice Types and Dismiss Behavior
| Notice Type | CSS Class | Who Sees It | Dismiss Button |
|---|---|---|---|
| Error | .notice-error |
Everyone | No (untouched) |
| Warning | .notice-warning |
Everyone | No (untouched) |
| Success | .notice-success |
Everyone | No (untouched) |
| Info | .notice-info |
Designated users | Yes (persistent) |
| Generic nag | .notice (no severity) |
Designated users | Yes (persistent) |
| Update nag | .update-nag |
Designated users | No |
How to Dismiss
Click the X button on any info or generic nag notice. The notice animates out and is recorded in the database. On future page loads, the notice is hidden before it renders.
Hidden Notices Banner
When one or more notices have been dismissed on the current page, a banner appears above the page content showing how many notices are hidden. Click the Show button to temporarily reveal them (at reduced opacity). Click Hide to collapse them again.
What If a Notice Changes?
Each notice is identified by a hash of its text content. If a plugin updates its notice text (for example, from “Update available: 1.2” to “Update available: 1.3”), it will be treated as a new notice and will appear again.
