v3.3.0
This commit is contained in:
parent
7b3c00cacc
commit
0ec665db60
1 changed files with 415 additions and 337 deletions
|
|
@ -1,8 +1,45 @@
|
|||
== Changelog ==
|
||||
|
||||
= 3.3.0 =
|
||||
|
||||
_Release date: 2026-09-19_
|
||||
**Highlights**
|
||||
|
||||
* The settings page is reorganized with the native WordPress tab navigation (General / SEO Settings / Import-Export) and titled sections, built exclusively on core `nav-tab` classes with URL-based switching — no proprietary tab CSS or JavaScript.
|
||||
|
||||
**Added**
|
||||
|
||||
* Native WordPress tab navigation on the settings page (`nav-tab-wrapper` / `nav-tab`, the same pattern as the core Updates and Plugins screens): General (implementation method and configuration options), SEO Settings (the directive grid), and Import / Export (the JSON tools). Tabs switch through the `tab` query parameter and the active panel renders server-side, so they work without JavaScript and are bookmarkable.
|
||||
* Titled sections inside the tabs: "Recommended settings" (one-click defaults), "Overview" (the number cards) and "Page contexts" (the directive grid) on SEO Settings; "Export settings" and "Import settings" headers on the Import / Export tab. Spacing added between the tab bar and the content below.
|
||||
|
||||
**Changed**
|
||||
|
||||
* `noindex_seo_process_form()` is now tab-scoped: saving from the General tab updates only the configuration and preserves the directive grid, saving from SEO Settings updates only the directives and preserves the configuration — hidden tabs can no longer reset each other's values. The form carries a `noindex_seo_form_scope` marker and the redirect returns to the tab the user saved from.
|
||||
* The header-only restriction for the attachment context now follows the saved implementation method (the method select lives on the General tab), and switching the method to meta/HTML-only from General zeroes the attachment directives to keep the invariant consistent.
|
||||
* The apply-suggestions redirect and the import success/error redirects return to their source tabs (`tab=settings`, `tab=tools`).
|
||||
* Removed the dead custom tab machinery: the `.noindex-seo-tab*` CSS rules, the `initTabs()` JavaScript with its localStorage persistence, and the unused `.noindex-seo-apply-note` class (previously flagged as dead code by the 3.1.6 deploy audit).
|
||||
|
||||
**Fixed**
|
||||
|
||||
* Nothing.
|
||||
|
||||
**Security**
|
||||
|
||||
* No security changes; the tab parameter is strictly safelisted server-side (`sanitize_key` + allow list) and PHPCS/PHPStan/composer audit stay clean.
|
||||
|
||||
**Compatibility**
|
||||
|
||||
* WordPress: 4.7 - 7.2
|
||||
* PHP: 5.6 - 8.5
|
||||
|
||||
**Tests**
|
||||
|
||||
* PHPUnit: 9.6.36 (172 tests, all passing): tab markup (three tabs, active class, unknown-tab fallback), per-tab rendering isolation, scope-aware saving (config-only / grid-only / preserve-other-side / attachment invariant / tab-aware redirect), and section ordering.
|
||||
|
||||
= 3.2.0 =
|
||||
|
||||
_Release date: 2026-09-18_
|
||||
|
||||
**Highlights**
|
||||
|
||||
* Two roadmap features: JSON export/import of the settings (#6) and runtime conflict verification against the `wp_robots` API (#10).
|
||||
|
|
|
|||
Loading…
Reference in a new issue