Description
Duplicating the Query Block can result in duplicate query IDs resulting in unexpected enhanced pagination behaviour.
Step-by-step reproduction instructions
- Install WP Trunk ( WordPress/wordpress-develop@64bfb23 )
- Do not enabled Gutenberg
- Generate some posts via wp cli,
wp post generate
- Go to the site editor
- Edit the home page
- Remove all group blocks except for the group containing Query block (this is to make it easier to see the effect while testing)
- Select the query block
- Ensure "Force page reload" is turned off
- Add a pagination block if required
- Select the group block above the query block (ie, the group containing the heading "Watch, Read, Listen")
- Duplicate the group
- In the duplicated group, modify the query so it doesn't inherit from the main query
- Save the template
- Visit the front end of the site
- Click next page on either query block
- Observe the page changes on both blocks
Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Description
Duplicating the Query Block can result in duplicate query IDs resulting in unexpected enhanced pagination behaviour.
Step-by-step reproduction instructions
wp post generateScreenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes