When the Automation page has one or more automation rules set, clicking on the "Delete Rule" button removes the contents of the apple-news-options__page div – effectively everything in the main content area.
BEFORE CLICKING DELETE RULE
AFTER CLICKING DELETE RULE
This produces the following output in console:
Steps To Reproduce
Visit Apple News => Automation in the dashboard.
If no automation rules are already set, add one and save.
Refresh the page and click any Delete Rule button in the rules table.
Additional Information
We are encountering this on two of our sites that are on WordPress 6.3.1. I see the same behavior on 6.2.2 as well.
As a sanity check, I spun up a quick instance on the WordPress Playground (https://playground.wordpress.net – also 6.3.1) and I'm seeing it there, as well.
Description of the bug
When the Automation page has one or more automation rules set, clicking on the "Delete Rule" button removes the contents of the
apple-news-options__page
div – effectively everything in the main content area.BEFORE CLICKING DELETE RULE
AFTER CLICKING DELETE RULE
This produces the following output in console:
Steps To Reproduce
Additional Information
We are encountering this on two of our sites that are on WordPress 6.3.1. I see the same behavior on 6.2.2 as well.
As a sanity check, I spun up a quick instance on the WordPress Playground (https://playground.wordpress.net – also 6.3.1) and I'm seeing it there, as well.