Skip to content

Bump minimum required WordPress version to 6.7#775

Merged
pbking merged 2 commits intotrunkfrom
version-bump-6.7
Jun 7, 2025
Merged

Bump minimum required WordPress version to 6.7#775
pbking merged 2 commits intotrunkfrom
version-bump-6.7

Conversation

@t-hamano
Copy link
Copy Markdown
Contributor

Similar to #704

Comment on lines 20 to 21
// TODO: Remove the fallback component when the minimum supported WordPress
// version was increased to 6.7.
// version was increased to 6.8.
const BackButton = Navigator?.BackButton || NavigatorToParentButton;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It turns out that Navigator.BackButton is not yet exposed in WordPress 6.7. Therefore, we found that the fallback component is necessary as long as CBT supports WordPress 6.7.

In the future, when we bump the minimum required WordPress version to 6.8, we will be able to remove this fallback code.

@pbking pbking merged commit c5dc3d0 into trunk Jun 7, 2025
2 checks passed
@pbking pbking deleted the version-bump-6.7 branch June 7, 2025 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants