-
Notifications
You must be signed in to change notification settings - Fork 219
Simplify Product Collection query attributes by removing attributes which are never used #11259
Conversation
…nts which are never used
The release ZIP for this PR is accessible via:
Script Dependencies ReportThere is no changed script dependency between this branch and trunk. This comment was automatically generated by the TypeScript Errors Report
🎉 🎉 This PR does not introduce new TS errors. |
Size Change: -3.2 kB (0%) Total Size: 1.48 MB
ℹ️ View Unchanged
|
Hey @kmanijak, I noticed that the parents field still exists in the migration scripts: |
Great catch @imanish003, thank you! Fixed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Nice work on simplifying the codebase by removing unused attributes (sticky and parents). Great job! 🚀
Simplify Product Collection query attributes by removing attributes (
sticky
andparents
) that are never used.What
Remove unused attributes from Product Collection query attribute.
Why
Considering we're planning to improve and extend the query attribute it makes sense to clean it up first.
In this PR I'm removing
sticky
andparents
attributes which:Testing Instructions
Please consider any edge cases this change may have, and also other areas of the product this may impact.
Some testing
Migration
Do not include in the Testing Notes
Should be tested by the development team exclusively
Below Testing instructions are for dev team exclusively
trunk
branchclean/simplify-product-collection-attributes
)WooCommerce Visibility
Required:
Checklist
Required:
[type]
label or a[skip-changelog]
label.Conditional:
[skip-changelog]
label is not present).Changelog