This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 221
Remove attributes data from save function for active filters #10047
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: +47 B (0%) Total Size: 1.18 MB
ℹ️ View Unchanged
|
Aljullu
approved these changes
Jul 3, 2023
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.
It's testing well and code looks good, thanks @roykho!
Should we update the Active Filters fixture? Or maybe even create a separate one for the new markup?
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
block: active filters
Issues related to the Active Filters block.
type: enhancement
The issue is a request for an enhancement.
type: refactor
The issue/PR is related to refactoring.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #9959
This PR removes the data attributes from being saved into HTML as it is not needed. A deprecation has been also implemented to prevent block validation errors on existing blocks.
Testing
User Facing Testing
Products (beta)
,Active Filters
and some filter block like theFilter by attributes
.WooCommerce Visibility
Performance Impact
Changelog