v3.1.6
This commit is contained in:
parent
a50d125883
commit
b66c727a95
1 changed files with 438 additions and 234 deletions
|
|
@ -1,5 +1,43 @@
|
|||
== Changelog ==
|
||||
|
||||
= 3.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 in `assets/css/admin.css` under 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 `.hidden` class with `classList.toggle()` instead of inline `display` manipulation.
|
||||
* `assets/css/admin.css` also 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-link` rule 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 `.pot` template updated; `.mo` files 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 and `composer audit` remain 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.
|
||||
|
||||
= 3.1.5 =
|
||||
|
||||
_Release date: 2026-09-18_
|
||||
|
|
|
|||
Loading…
Reference in a new issue