Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block editor Yoast panel: remove if/else and refactor to use selector [after dropping WP 6.4 support] #21065

Open
enricobattocchi opened this issue Jan 22, 2024 · 0 comments

Comments

@enricobattocchi
Copy link
Member

We have had a patch release for Gutenberg preferences that moved from edit-post to editor.
After this move of selectors and actions, we ran into it and fixed it (unfortunately, first only for 21.9, then patch for 21.8).
They detected this and fixed it too, resulting in a PR that deprecates the selector we use.

It was mentioned that they expect us to use the isEditorPanelOpened selector instead of using the preferences directly. So let's do that. But only after we no longer need to support edit-post, then we can remove the if/else and refactor in one go. When can we then pick up this issue? The edit-post version is included in WP 6.4 (and Gutenberg 17.3). So I think that means whenever we drop support for WP 6.4

Sources

Gutenberg

WordPress SEO (free)

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

No branches or pull requests

1 participant