Skip to content

Version update to 1.6.12 - #145

Merged
deepench merged 5 commits into
masterfrom
chore/version-1.6.12
Oct 7, 2026
Merged

deepench merged 5 commits into
masterfrom
chore/version-1.6.12

Conversation

@deepench

@deepench deepench commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

= Version 1.6.12 - 2026-10-07 =

  • Fix - Error in the posts grid and product grid widgets when the selected category no longer exists.
  • Fix - Hero slider shows the full-size image when the estore-slider image size has not been generated.
  • Fix - PHP 8 warning in the product grid, product carousel and posts grid widgets when an item has no featured image.
  • Fix - PHP 8 warnings and deprecations when a widget is saved without every field.
  • Fix - Category title is now escaped, the description is sanitised and the links are guarded in the WooCommerce collection template.
  • Fix - PHP warning in the shop product loop when a product's featured image has been deleted.
  • Update - Tested up to WordPress 7.1.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The lockfile version is stale, and the changelog advertises fixes not included in the reviewed changes.

Review effort: Lite
Findings: 1 Low severity

Open (1)
What changed in this PR

Updates eStore release metadata and documents version 1.6.12.

Changes:

  • Bumps theme and package versions.
  • Updates WordPress compatibility metadata to 7.1.
  • Adds the 1.6.12 changelog entry.
File Summary
style.css Updates theme version and WordPress compatibility.
sass/​style.scss Synchronizes source metadata.
readme.txt Adds release notes.
package.json Updates package version.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread package.json
"name": "estore",
"title": "eStore",
"version": "1.6.",
"version": "1.6.12",
wp_get_attachment_image_src() returns false for an item with no featured image, and the widgets read [0] from it before checking, which is a warning on PHP 8 ('Trying to access array offset on false'). They now check with empty(), so the existing placeholder image is used without the warning.

Verified: php -l, and on PHP 8.4 a front-end scan of the shop, cart, checkout, home, search and 404 pages went from the warning on every page that renders the product grid to none.
Widget update() methods read $new_instance keys directly, so saving a widget without every field raises 'Undefined array key' warnings on PHP 8 and a strip_tags(null) deprecation on 8.1. This happens whenever a partial save arrives (REST, WP-CLI), and in Pro on every save of a license-locked widget, because the lock replaces the form and no fields are posted. update() now merges the input with an empty default for each key it reads; checkbox keys that are only tested with isset() are left out so unticked boxes still save as 0.

Verified: php -l on every widget file.
estore_template_loop_product_thumbnail() read $image_url[0] without checking it. has_post_thumbnail() stays true for a featured image whose file was deleted, but wp_get_attachment_image_src() then returns false, so the read raised a PHP 8 warning. The zoom link is now only output when there is an image URL, and the URL is escaped.

Verified: php -l.
…on template

The WooCommerce Category Collection template printed the category name and description unescaped, so markup stored in either was output as-is, and an unguarded get_term_link() result was passed to esc_url(). The template now matches the Pro version: esc_html() for the name, wp_kses_post() for the description (the function WooCommerce uses for its own category description), and the links are skipped when the term link is an error.

Verified: php -l.
@deepench
deepench merged commit 850b437 into master Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants