-
v3.1.6 Stable
released this
2026-11-03 17:02:11 +00:00 | 6 commits to main since this release3.1.6
Release date: 2026-09-18
Highlights
- Admin UI modernization: all inline styles removed in favour of WordPress admin color-scheme-aware, RTL-ready classes (audit finding M7), plus the two minor items deferred from the 3.1.5 deploy audit (stale wp_die message, unreachable REST fallbacks).
Added
- Regression tests locking in the new UI conventions: the settings page and meta box render without any
style="..."attribute, and the stylesheet is verified to load on the post-list / post-edit / term-edit screens (gated by the granular flags) while staying off everything else.
Changed
- All 61 inline
style="..."attributes removed from the settings page, post meta box, term edit panel, Quick Edit, and the post/term list "Robots" columns. Styling now lives inassets/css/admin.cssunder semantic class names. - Admin styling now follows the WordPress admin color scheme: accents use
var(--wp-admin-theme-color, #2271b1), status boxes and badges use the core admin palette, and neutral grays match wp-admin. The UI adapts to Light / Blue / Midnight / Coffee / Ocean / etc. instead of hardcoded Material-Design colors. - RTL support: layout uses logical CSS properties (
margin-inline-start,border-inline-start) and the toggle switch mirrors under[dir="rtl"]. - Dynamic visibility (override toggles in the meta box and term panel) uses the core
.hiddenclass withclassList.toggle()instead of inlinedisplaymanipulation. assets/css/admin.cssalso enqueues on the admin screens where the plugin renders UI (post list, post editor, term editor), gated by the granular-control flags; the interactive JavaScript remains settings-page-only.- Admin stylesheet cleanup: duplicate
.noindex-seo-view-linkrule block removed; keyframe names prefixed to avoid collisions.
Fixed
- Stale
wp_die()message in the two form handlers: after the 3.1.5 nonce split only the capability path is reachable there, so the message is now "Permission denied." instead of "Permission denied or invalid nonce." (deploy-audit finding I2). Catalan and Spanish translations and the.pottemplate updated;.mofiles recompiled. - Unreachable
function_exists( 'rest_authorization_required_code' )ternaries removed from both REST permission callbacks — the function exists on every supported WordPress version (deploy-audit finding I5).
Security
- No security changes; the full canonical checklist (
AGENTS-security.md), PHPCS security sniffs andcomposer auditremain clean.
Compatibility
- WordPress: 4.7 - 7.2
- PHP: 5.6 - 8.5
Tests
- PHPUnit: 9.6.36 (150 tests, all passing). Coverage maintained above the 80% floor.
Downloads