Skip to content

Update version requirements to WP 6.8 / PHP 7.4#31

Open
github-actions[bot] wants to merge 1 commit into
trunkfrom
update-version-requirements-1767312710
Open

Update version requirements to WP 6.8 / PHP 7.4#31
github-actions[bot] wants to merge 1 commit into
trunkfrom
update-version-requirements-1767312710

Conversation

@github-actions

@github-actions github-actions Bot commented Jan 2, 2026

Copy link
Copy Markdown

This PR automatically updates the version requirements in plugins/woocommerce/woocommerce.php and plugins/woocommerce/readme.txt:

Changes

  • WordPress requirement: 6.8
  • PHP requirement: 7.4

Auto-generated by the maintenance-update-version-requirements.yml workflow.

faisuc pushed a commit that referenced this pull request Jul 4, 2026
…ocommerce#64633)

fix: customers report cell renderer crashes on some country values

The customers analytics screen could fail to render with React error #31
when a customer record's country field happened to coerce into a value
that hits an Array index or prototype name (e.g. "0", "find"). The cell
renderer was treating the countries data store array as a string-keyed
map, so countries["0"] returned the first country object instead of
undefined, which React then refused to render as a child of the cell's
screen-reader span.

Replace the array-as-map lookup with Array#find by code, and decode
HTML entities on the resolved name (the legacy wcSettings.countries map
was already decoded; the REST data/countries response is not).

Add a Jest test covering the regression and the entity-decoding contract.

Fixes woocommerce#64555
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.

0 participants