[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
Changes proposed in this Pull Request:
WordPress 6.6 updates the Core link under WP Admin > Appearance > Patterns to point to the Site Editor.
The Newspack Plugin already includes a link to Patterns and Pattern Categories under Posts, so the link from Core was already redundant. Now it has the possibility of being confusing -- we'll need to get publishers onboarded with the Site Editor when they're moved to block themes, but in the meantime it's unlikely they're using this link, and pushing them into the Site Editor at this point could be confusing.
Note: When a block theme is active, the Patterns link doesn't exist -- there's a Patterns section under Appearance > Editor instead. So adding this change to the Newspack Plugin won't affect the block theme, and keeps the code with the code adding the Patterns under the Posts menu.
How to test the changes in this Pull Request:
From the WordPress Dashboard, note that there's a Patterns link under the Appearance menu.
Apply this PR.
Confirm the Patterns link there is now gone.
Other information:
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes, as applicable?
[ ] Have you successfully ran tests with your changes locally?
All Submissions:
Changes proposed in this Pull Request:
WordPress 6.6 updates the Core link under WP Admin > Appearance > Patterns to point to the Site Editor.
The Newspack Plugin already includes a link to Patterns and Pattern Categories under Posts, so the link from Core was already redundant. Now it has the possibility of being confusing -- we'll need to get publishers onboarded with the Site Editor when they're moved to block themes, but in the meantime it's unlikely they're using this link, and pushing them into the Site Editor at this point could be confusing.
Note: When a block theme is active, the Patterns link doesn't exist -- there's a Patterns section under Appearance > Editor instead. So adding this change to the Newspack Plugin won't affect the block theme, and keeps the code with the code adding the Patterns under the Posts menu.
How to test the changes in this Pull Request:
Other information: