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

Address SelectControl margin deprecation message in WP 6.7 #2929

Open
acicovic opened this issue Nov 11, 2024 · 0 comments
Open

Address SelectControl margin deprecation message in WP 6.7 #2929

acicovic opened this issue Nov 11, 2024 · 0 comments

Comments

@acicovic
Copy link
Collaborator

Is your feature request related to a problem?

In WordPress 6.7 and newer, when we go to certain PCH Sidebar tools (Performance Stats, Smart Linking, Related Posts), we get the following console warning:

Bottom margin styles for wp.components.SelectControl is deprecated since version 6.7 and will be removed in version 7.0. Note: Set the __nextHasNoMarginBottom prop to true to start opting into the new styles, which will become the default in a future version.

Describe the solution you'd like

Ideally, we should address this issue while also not breaking the styling for earlier versions of WordPress we're supporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant