BeeClean – Hide Admin Notices

説明

Most notice hiders simply remove notices from the page. BeeClean works the other way round: it captures each notice first, writes a copy to its own log, and only then hides it. A notice BeeClean cannot store is a notice BeeClean does not hide.

Because every notice is run and read individually, BeeClean knows which plugin, theme or must-use plugin produced it. You get a log you can search and filter by source, and per-source rules instead of one blunt on/off switch.

What BeeClean never hides

  • WordPress core notices, including update, paused plugin, recovery mode and password notices.
  • Anything whose wording reads as security, update or data related.
  • Confirmations produced by a form you just submitted.
  • Error notices, unless you choose to include them.
  • Output that is not purely a notice, such as a notice bundled with a script or a form.
  • Notices on the screens you protect. Plugins, Updates, Site Health, Add Plugins and Add Themes are protected out of the box.

Notice log

Every hidden notice is recorded with its type, source, message, the screen it appeared on, how many times it has been seen and when it was last seen. Repeat notices update the existing row instead of creating a new one, so a chatty plugin cannot flood the log.

You can search the log, filter it by type or source, read the stored copy of any notice, delete single entries or clear the whole log. The log is capped by both a number of entries and an age, and both are configurable.

Per-source rules

The Sources screen lists every plugin and theme that has printed a notice. For each one you can:

  • Always show its notices, whatever the global settings say.
  • Mute it for 7 or 30 days, which hides every type it prints. The mute ends on its own, so a plugin you silenced for a month starts speaking again afterwards. Protected wording is still shown even while a source is muted.
  • Reset it back to the normal rules.

Review and show again

A notice is created by the plugin that owns it, so no plugin can recreate a notice from the past on demand. BeeClean is honest about that. What it offers instead is the stored copy, readable in the log at any time, and a “Show this notice again” action that stops BeeClean hiding that exact notice, so it appears the next time its plugin prints it.

Settings

  • Turn hiding on or off.
  • Choose which notice types may be hidden: success, information, warning, error.
  • Choose which screens always show every notice.
  • Turn the log on or off. With the log off, BeeClean hides nothing.
  • Set how many entries are kept and how long they are kept for.
  • Show or hide the toolbar indicator.
  • Pause BeeClean for ten minutes from the toolbar when you want to see everything live.

Privacy

BeeClean makes no external requests, loads nothing from a third party and collects no analytics. Captured notices are stored in your own database. Before anything is written, scripts and styles are removed and values that look like nonces, keys, tokens, passwords or licence keys are replaced with a redaction marker.

インストール

  1. Upload the plugin files to /wp-content/plugins/beeclean-hide-admin-notices/, or install it through the Plugins screen.
  2. Activate the plugin through the Plugins screen.
  3. Open BeeClean in the admin menu. Hiding is on by default for success and information notices.

FAQ

Can BeeClean hide a notice I needed to see?

It is built not to. Core notices, security and update wording, settings confirmations and error notices are all left visible, and the Plugins, Updates and Site Health screens show everything by default. Anything BeeClean does hide is in the notice log.

Can it restore a notice that was already hidden?

Not as a live notice. Only the plugin that created a notice can print it again. BeeClean keeps a readable copy in its log, and “Show this notice again” tells BeeClean to stop hiding that notice so it reappears the next time its plugin produces it.

Why did BeeClean stop hiding when I turned the log off?

BeeClean only hides a notice once it has stored a copy of it. With the log off there is nowhere to store it, so nothing is hidden.

Does it work on multisite?

On a multisite network it runs per site, with its own settings and log on each site. It does not act in the Network Admin or User Admin screens, where notices are left exactly as they are.

Does it hide anything on the front end?

No. BeeClean only runs in the admin area, and never during AJAX, REST or cron requests.

What happens to my data if I remove the plugin?

Deactivating leaves your settings and log untouched. Deleting the plugin removes its settings, the notice log, the source list and its transient from the database.

評価

このプラグインにはレビューがありません。

貢献者と開発者

BeeClean – Hide Admin Notices はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“BeeClean – Hide Admin Notices” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログを RSS で購読してみてください。

変更履歴

2.0.0

  • New: notices are captured and stored before anything is hidden; a notice that cannot be stored is not hidden.
  • New: each notice is attributed to the plugin, theme or must-use plugin that produced it.
  • New: notice log with search, type and source filters, occurrence counts, stored copies, single-entry deletion and a clear action.
  • New: per-source rules, including time limited mutes that expire on their own.
  • New: “Show this notice again” for a single notice.
  • New: settings screen built on the WordPress Settings API, covering notice types, protected screens, log size and log retention.
  • New: toolbar indicator and a ten minute pause.
  • New: protection for core notices, security and update wording, settings confirmations and markup that is not purely a notice.
  • New: uninstall routine that removes every option the plugin created.
  • Security: capability and nonce checks on every administrative action, strict sanitization of all input, escaping on all output.
  • Changed: the stylesheet no longer hides notices and is only loaded on the BeeClean screens.
  • Changed: redaction of nonces, keys, tokens and passwords before anything is written to the database.

1.0.1

  • Compatibility update.

1.0.0

  • Initial release.