From c96e7619b5b7d2d75646ad6f883fc602bfab4b23 Mon Sep 17 00:00:00 2001 From: "Nazmul H. Rupok" Date: Sun, 13 Sep 2026 18:39:56 +0600 Subject: [PATCH 1/2] fix(chrome): keep the 3.1.0 header and footer on upgrade Updating an existing site replaced its header and footer, because both patterns were rewritten under their existing slugs while the template parts only reference those slugs. Saved parts that contain nothing but a wp:pattern reference re-resolve to the new markup, so preserving the database record did not preserve the layout. Restore patterns/header.php and patterns/footer.php to their 3.1.0 markup, and ship the native-identity chrome as the new header-minimal and footer-minimal patterns. Give the minimal header's navigation an explicit page-list fallback so it no longer resolves to an unrelated saved menu, and lay that header out nowrap so WooCommerce's account and mini-cart icons stay on the logo row. Stop underlining button-shaped links inside post content, which also underlined WooCommerce's Proceed to Checkout button, and correct the migration note on database-saved template parts. Covers FX-01 to FX-05 from the 3.2.1 upgrade QA. --- CHANGELOG.md | 10 ++++ assets/css/custom.css | 5 +- docs/MIGRATION-3.2.md | 2 +- patterns/footer-minimal.php | 12 ++++ patterns/footer.php | 116 ++++++++++++++++++++++++++++++++---- patterns/header-minimal.php | 16 +++++ patterns/header.php | 80 +++++++++++++++++++++---- readme.txt | 7 +++ tools/release-files.txt | 2 + 9 files changed, 225 insertions(+), 25 deletions(-) create mode 100644 patterns/footer-minimal.php create mode 100644 patterns/header-minimal.php diff --git a/CHANGELOG.md b/CHANGELOG.md index 2376746..8711182 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 3.2.1 — unreleased + +Upgrade QA follow-up to 3.2.0. Updating an existing site no longer replaces its header and footer layout. + +- Restore the 3.1.0 header and footer under the `flexia/header` and `flexia/footer` slugs, so existing sites keep their chrome on update. The 3.2 native-identity chrome remains available as the new `flexia/header-minimal` and `flexia/footer-minimal` patterns. +- Give the minimal header's navigation an explicit page-list fallback so it no longer resolves to an unrelated saved menu. +- Lay the minimal header out without wrapping, keeping WooCommerce's account and mini-cart icons on the logo and menu row. +- Stop underlining button-shaped links inside post content, including WooCommerce's "Proceed to Checkout" button. +- Correct the 3.2 migration note: a database-saved header/footer part that only references a pattern still follows the theme's current pattern. + ## 3.2.0 — 2026-09-13 Update from the public 3.1.0 release. Requires WordPress 6.6 or later; tested up to WordPress 7.1. diff --git a/assets/css/custom.css b/assets/css/custom.css index e78df6a..35f29e6 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -563,5 +563,6 @@ ol.wp-block-comment-template ol .wp-block-columns { scroll-behavior: auto !important; } } -.wp-block-post-content a { text-decoration: underline; } -.wp-block-post-content a:hover { text-decoration-thickness: 2px; } +/* Body links are underlined, but button-shaped links are not. */ +.wp-block-post-content a:not(.wp-element-button):not(.wp-block-button__link):not(.wc-block-components-button) { text-decoration: underline; } +.wp-block-post-content a:not(.wp-element-button):not(.wp-block-button__link):not(.wc-block-components-button):hover { text-decoration-thickness: 2px; } diff --git a/docs/MIGRATION-3.2.md b/docs/MIGRATION-3.2.md index d19430a..07de258 100644 --- a/docs/MIGRATION-3.2.md +++ b/docs/MIGRATION-3.2.md @@ -8,7 +8,7 @@ Back up the database and theme/plugin files, then test on a staging clone. WordP - **Home/blog:** home.html is now a posts index. For the previous agency layout, insert the Agency landing page pattern into a page and choose that page as the static front page in Reading settings. It is no longer forced onto the posts index. - **Archives/sidebar:** archives inherit the requested category/date/author and pagination. Single-with-sidebar renders the selected post body and comments, rather than a latest-post list. - **Commerce:** archive-product.html supplies the actual catalog override. The old woocommerce custom-template filename remains as an alias for existing assignments. Related products now use WooCommerce's current-product context. -- **Site identity:** configure your Site Logo, Site Title and Navigation. Default chrome no longer contains vendor demo contact links or signup links. Existing database-saved header/footer parts remain untouched. +- **Site identity:** the default header and footer keep their 3.1.0 layout under the `flexia/header` and `flexia/footer` slugs, so upgrading does not change site chrome. Note that a database-saved header/footer part whose content is only a `wp:pattern` reference still resolves to the theme's current pattern, so preserving the saved record is not by itself enough to preserve the rendered layout. The native-identity chrome ships alongside as `flexia/header-minimal` and `flexia/footer-minimal`; apply either from the Site Editor to replace the vendor demo contact and signup links with your own Site Logo, Site Title and Navigation. - **Styles:** theme.json v3, accessible palette updates, shared editor CSS, focus/touch behavior and reduced motion may change appearance. Compare default/dark/orange variations and any child styles before rollout. No existing style/pattern slug is intentionally removed. - **Fonts:** missing DM Sans files are replaced by an explicit system fallback under the old preset slug. Missing Inter weights are no longer declared. Existing Sora/Inter files are served as WOFF2; old TTF URLs remain available. If exact typography is contractual, review those presets before updating. diff --git a/patterns/footer-minimal.php b/patterns/footer-minimal.php new file mode 100644 index 0000000..a68c081 --- /dev/null +++ b/patterns/footer-minimal.php @@ -0,0 +1,12 @@ + + +
+
+
diff --git a/patterns/footer.php b/patterns/footer.php index 5024157..840ad64 100644 --- a/patterns/footer.php +++ b/patterns/footer.php @@ -1,12 +1,108 @@ - -
-
-
+ +
+
+
+ +
+
" alt="" class="" style="width:128px;height:auto"/>
+ + + + + + + + +
+
+ + + +
+
+
+ + + + + + + + + +
+ + + +
+

+ + + + + + + + +
+ +
+
+ + + +
+
+
+

+ + + + + + + +
+ + + +
+

+ + + + + + + +
+
+
+
+ + + +
+

+
+
+ diff --git a/patterns/header-minimal.php b/patterns/header-minimal.php new file mode 100644 index 0000000..7872408 --- /dev/null +++ b/patterns/header-minimal.php @@ -0,0 +1,16 @@ + + +
+ +
+ + + +
diff --git a/patterns/header.php b/patterns/header.php index 98ddc4b..b22b7eb 100644 --- a/patterns/header.php +++ b/patterns/header.php @@ -1,14 +1,70 @@ - -
- -
- -
+ +
+
+
+
+
+
" alt="" style="object-fit:contain;width:18px;height:20px"/>
+ + + + +
+
+ + + +
+
+
+
" alt="" style="object-fit:contain;width:18px;height:20px"/>
+ + + + +
+ + + +
+
" alt="" style="object-fit:contain;width:18px;height:20px"/>
+ + +
+
+
+
+
+ + + + +
+ \ No newline at end of file diff --git a/readme.txt b/readme.txt index 89981e7..9727437 100644 --- a/readme.txt +++ b/readme.txt @@ -20,6 +20,13 @@ Version 3.2 requires WordPress 6.6 or later. Review docs/MIGRATION-3.2.md in the == Changelog == += 3.2.1 = +* Fixed: Updating from 3.1.0 no longer replaces the site header and footer layout. +* Fixed: The header menu no longer falls back to an unrelated saved navigation menu. +* Fixed: WooCommerce account and cart icons no longer wrap onto a second header row. +* Fixed: The "Proceed to Checkout" button label is no longer underlined. +* Added: Header (minimal) and Footer (minimal) patterns for native site identity chrome. + = 3.2.0 = * Updated: Tested up to WordPress 7.1, the current stable release verified by compatibility tests. * Security: Restore optional plugin security defaults and remove automatic Pro deactivation. diff --git a/tools/release-files.txt b/tools/release-files.txt index face751..556e62d 100644 --- a/tools/release-files.txt +++ b/tools/release-files.txt @@ -87,8 +87,10 @@ patterns/common-page-header.php patterns/cta.php patterns/error.php patterns/faq.php +patterns/footer-minimal.php patterns/footer.php patterns/funfacts.php +patterns/header-minimal.php patterns/header.php patterns/home.php patterns/main-sidebar.php From ca142883d04d5b31a947df72b223f451a8668da3 Mon Sep 17 00:00:00 2001 From: "Nazmul H. Rupok" Date: Sun, 13 Sep 2026 18:40:17 +0600 Subject: [PATCH 2/2] chore(release): bump Flexia to 3.2.1 --- CHANGELOG.md | 2 +- functions.php | 2 +- readme.txt | 2 +- style.css | 2 +- tools/release-files.txt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8711182..789abd4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 3.2.1 — unreleased +## 3.2.1 — 2026-09-13 Upgrade QA follow-up to 3.2.0. Updating an existing site no longer replaces its header and footer layout. diff --git a/functions.php b/functions.php index ef15924..bd90147 100644 --- a/functions.php +++ b/functions.php @@ -9,7 +9,7 @@ } define( 'FLEXIA_DEV_MODE', false ); -define( 'FLEXIA_VERSION', '3.2.0' ); +define( 'FLEXIA_VERSION', '3.2.1' ); define( 'FLEXIA_SLUG', 'flexia' ); define( 'FLEXIA_NAME', 'flexia' ); define( 'FLEXIA_DIR_PATH', get_template_directory() ); diff --git a/readme.txt b/readme.txt index 9727437..4ded4cf 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Theme URI: https://flexia.pro/ Tags: blog, e-commerce, full-site-editing, block-patterns, block-styles, editor-style, style-variations, translation-ready Requires at least: 6.6 Tested up to: 7.1 -Stable tag: 3.2.0 +Stable tag: 3.2.1 Domain Path: /languages/ License: GNU General Public License v3 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html diff --git a/style.css b/style.css index 56e11c1..566c4bb 100644 --- a/style.css +++ b/style.css @@ -2,7 +2,7 @@ Theme Name: Flexia Theme URI: https://flexia.pro Text Domain: flexia -Version: 3.2.0 +Version: 3.2.1 Author: WPDeveloper Author URI: https://wpdeveloper.com Requires at least: 6.6 diff --git a/tools/release-files.txt b/tools/release-files.txt index 556e62d..bb1d3e5 100644 --- a/tools/release-files.txt +++ b/tools/release-files.txt @@ -1,4 +1,4 @@ -# Reviewed runtime inventory for Flexia 3.2.0. One path per line. +# Reviewed runtime inventory for Flexia 3.2.1. One path per line. assets/css/block-styles.css assets/css/custom.css assets/css/editor-style.css