-
v1.7.0 Stable
released this
2026-06-03 06:31:14 +00:00 | 1 commits to main since this release1.7.0
Release date: 2026-05-11
Added
- New Alerts admin page (Media Audit → Alerts) with two tabs:
- Active Alerts — lists all attachments with active (non-dismissed) alert-domain matches. Each row has a "Dismiss" button that expands an inline form to add optional notes.
- Dismissed Alerts — lists alerts that have been manually dismissed, with the dismissal notes, who dismissed them, and when. Each row has a "Reactivate" button to restore the alert.
- New DB table
mra_dismissed_alerts(schema migration 1.2.0): stores attachment ID, dismissed-by user ID, timestamp, and free-text notes (up to 1,000 characters). - Dashboard "Alert" card now counts only active (non-dismissed) alerts.
- Alert filter in the Media Audit list now excludes dismissed alerts.
- External Status column shows a grey "Dismissed" badge instead of the red "Alert" badge for dismissed attachments.
- "Export CSV (Alerts only)" bulk action now excludes dismissed alerts. Both CSV exports include new "Dismissed" and "Dismissed Notes" columns.
top_domainsstored per provider raised from 10 to 50 entries to prevent low-frequency alert domains from being silently discarded.
Fixed
- Alert filter in Media Audit list was incorrectly restricted to
external_status = 'matches', causing it to miss attachments whose alert domains were found but whose aggregate status had not yet been updated tomatches. The filter now correctly matches the dashboard card count. - Capability checks in
AuditPage(render, AJAX handler, CSV export, bulk actions) used the weakeredit_postscapability instead of theedit_others_postsused in the menu registration.
Schema changes:
ROBOTSTXT_MEDIAAUDIT_DB_VERSION→1.2.0Compatibility
- WordPress: 6.8 - 7.0
- PHP: 8.2 - 8.5
- WP-CLI: 2.x
Tests
- PHP Coding Standards: WPCS 3.x / PHPCS 3.x
- PHPStan: level 9
- PHPCompatibility: PHP 8.2 - 8.5
- PHPUnit: 48 tests, 78 assertions
Downloads
- New Alerts admin page (Media Audit → Alerts) with two tabs: