Skip to content

Issue/89572#174

Open
stephane-gillot wants to merge 5 commits into
developfrom
issue/89572
Open

Issue/89572#174
stephane-gillot wants to merge 5 commits into
developfrom
issue/89572

Conversation

@stephane-gillot

@stephane-gillot stephane-gillot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Note

Medium Risk
Feed extra-attribute export logic changed; incorrect mapping could affect marketplace product data, though the change targets the modern WC attribute API.

Overview
Fixes the Quality GitHub Actions workflow so the PHP matrix value is valid ('7.4' instead of a broken 7.4' entry), restoring CI.

Most other edits are coding standards (Yoda comparisons, sprintf spacing, indentation) in the GLS shipping addon and admin Options feed/shipping UI—no intended behavior change there.

Product feed: Product::get_attributes() now reads options from \WC_Product_Attribute via get_options() instead of treating each attribute as a nested array and using reset(). That aligns extra attribute export with current WooCommerce product attribute objects and should fix missing or wrong attribute values in the feed when the old shape is no longer used.

Reviewed by Cursor Bugbot for commit c2fd271. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor cursor Bot 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.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit b85e6c5. Configure here.

Comment thread src/Products/Product.php
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