=== Deskhush Notice Cleaner ===
Contributors: jasonmad, freemius
Tags: admin, notices, menu, dashboard, agency
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 0.2.14
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Calm promotional admin notices and organise menus for builders. Complements — does not replace — your other plugins.

== Description ==

For agencies and site builders who want a quieter wp-admin for **administrators** — not client handoff dashboards.

**Free**

* Classify notices (promotional / security / update / other)
* Hide promotional notices globally
* Per-plugin allow and block lists
* Drag-and-drop admin menu reorder and hide (administrator role)

Security and update notices are never hidden.

**Pro**

* Notice Drawer in the admin bar for suppressed notices
* Per-role menu layouts
* Role presets (Editor / Client / SEO)
* Re-apply saved menu order after plugin updates (single-site)
* Page Insight (which plugins run on the current admin screen)
* Export and import configuration

Pairs well with: **Deskhush Client Dashboard** for client-role admin chrome; **Deskhush Client Editor** for content-region locks.

This Free package is fully usable on its own. Pro is distributed separately via Freemius.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`
2. Activate through the Plugins screen
3. Open **Deskhush Notices** in the dashboard

== Frequently Asked Questions ==

= Does this lock paid features inside the free plugin? =

No. Everything shipped in this package works. Pro features live in the Pro package.

= Will administrators get locked out of menus? =

No. Menu hiding is configuration you control, and administrators keep Settings access to this plugin.

= How is this different from Deskhush Client Dashboard? =

This plugin cleans **your** (administrator) admin notices and menus. Deskhush Client Dashboard hides chrome for **client roles**. Deskhush Client Editor locks **content regions** on pages.

= Does this support WordPress Multisite? =

Not in v1. Use on single-site installs only.

== Changelog ==

= 0.2.14 =
* Fixed: Free package ships one Freemius init, with WordPress.org compliance left on
* Fixed: Per-plugin allow list and block list have fields on the Notice Cleaner screen

= 0.2.13 =
* Fixed: Freemius init matches the integration snippet, so the Free package does not ask for a license key

= 0.2.12 =
* Fixed: Admin notice HTML is escaped with wp_kses before it is printed
* Fixed: Options, menu slugs, Ajax actions, and script handles use the dhnc prefix

= 0.2.11 =
* Fixed: Notice Drawer, Page Insight, per-role menus, role presets, update re-apply, and export/import are removed from the Free package. What remains works without a license.

= 0.2.10 =
* Fixed: Freemius init sets is_org_compliant so the Free package can be published on WordPress.org. Pro features stay in the separate Freemius package.

= 0.2.9 =
* Fixed: WordPress.org review — display name/slug Deskhush Notice Cleaner; Contributors username; enqueue export/import JS; admin-only init (no early is_admin_bar_showing)
* Fixed: Pro-only handlers wrapped for Freemius Free strip (Guideline 5)
* Fixed: Global prefix is dhnc (Plugin Check PrefixAllGlobals; 4-character minimum)
* Note: Requested .org permalink deskhush-notice-cleaner; plugin folder matches that slug

= 0.2.8 =
* Fixed: Plugin Check — ABSPATH guard and text-domain mismatch in shared license helper
* Fixed: Freemius ZIP includes composer.json when vendor/ is bundled
* Fixed: Exclude phpcs.xml.dist from deploy ZIP (.org rejects application config files)

= 0.2.7 =
* Improved: Consistent card/toolbar styling across Notice Cleaner, Menu Organiser, Page Insight, and Settings

= 0.2.6 =
* Fixed: Menu Organiser drag-and-drop scripts load on the submenu screen
* Fixed: Page Insight panel stays docked on the right with its own CSS/JS (no longer slips under the admin menu)

= 0.2.5 =
* Fixed: Plugin Check headers, readme tested-up-to, and import sanitization

= 0.2.4 =
* Fixed: notice capture no longer discards the rest of the admin page

= 0.2.3 =
* Fixed: Page Insight no longer scans every admin screen

= 0.2.2 =
* Fixed: Freemius product ID and public key

= 0.2.1 =
* Fixed: Freemius paid slug is admin-experience-cleaner-premium

= 0.2.0 =
* Pro: Editor/Client/SEO role presets
* Pro: re-apply menu order after updates (`dhnc_reapply_after_updates`)

= 0.1.0 =
* Improved: Initial release
