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.
Description of the Change
As of the last release our minimum supported version of WordPress is 6.6. There were quite a few deprecation warnings added in that version that we've previously been ignoring but we can now safely update those to the proper components to fix those.
In addition, while fixing those up and testing to ensure everything worked, found a few other things I thought worth fixing:
Before
After
How to test the Change
Minimal changes made across multiple Features so ideal is to test to ensure those Features still work and no WordPress 6.5 or 6.6 deprecation warnings are shown. Note there are some deprecation notices introduced in 6.7 around bottom margin styles being deprecated since version 6.7 and will be removed in version 7.0 but decided not to address those yet
Changelog Entry
Credits
Props @dkotter
Checklist: