Closed jorgemd24 closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 64.7%. Comparing base (
d47c264
) to head (0642055
). Report is 1 commits behind head on feature/google-api-project.
Changes proposed in this Pull Request:
Part of #2146
This PR ensures that empty GLA attributes are returned as an empty object instead of an empty array, maintaining consistency in the responses.
Screenshots:
Detailed test instructions:
GET wp-json/wc/v3/products/PRODUCT_ID?gla_syncable=1
gla_attributes
is returned as an empty object instead of an empty array.Additional details:
Changelog entry