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 219
Add support for the Editor Preview update when custom attributes are changed #6975
Closed
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:
|
Size Change: +467 B (0%) Total Size: 874 kB
ℹ️ View Unchanged
|
gigitux
changed the title
Add support for the Editor Preview when custom attributes are changed
Add support for the Editor Preview update when custom attributes are changed
Aug 24, 2022
…ocks into add/product-query-edit-preview
This was referenced Sep 13, 2022
7 tasks
This PR has been marked as If deemed still relevant, the pr can be kept active by ensuring it's up to date with the main branch and removing the stale label - otherwise it will automatically be closed after 10 days. |
github-actions
bot
added
the
status: stale
Stale issues and PRs have had no updates for 60 days.
label
Sep 21, 2022
gigitux
removed
the
status: stale
Stale issues and PRs have had no updates for 60 days.
label
Sep 21, 2022
This PR has been marked as If deemed still relevant, the pr can be kept active by ensuring it's up to date with the main branch and removing the stale label - otherwise it will automatically be closed after 10 days. |
github-actions
bot
added
the
status: stale
Stale issues and PRs have had no updates for 60 days.
label
Sep 29, 2022
gigitux
removed
the
status: stale
Stale issues and PRs have had no updates for 60 days.
label
Sep 29, 2022
This PR has been marked as If deemed still relevant, the pr can be kept active by ensuring it's up to date with the main branch and removing the stale label - otherwise it will automatically be closed after 10 days. |
github-actions
bot
added
the
status: stale
Stale issues and PRs have had no updates for 60 days.
label
Oct 7, 2022
gigitux
removed
the
status: stale
Stale issues and PRs have had no updates for 60 days.
label
Oct 7, 2022
14 tasks
I'm closing this PR. The final PR is #7366 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This PR adds support for the editor preview update when custom attributes are changed.
For example, when
Show only products on sale
is enabled, the Query Loop block makes a GET request appending this query parameter:In this way, with the filter
rest_product_query
, we can control the WordPress REST API, and we can create a custom WP_Query object by reading the query arguments.This PR fixes #6969
Testing Steps
Be sure that you are using a Gutenberg build that contains this PR.