Address SelectControl margin deprecation message in WP 6.7

Open
#2,929 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
wordpress
Domain
frontend

Research direction

Search the PCI Sidebar tools named in the issue—Performance Stats, Smart Linking, and Related Posts—for their SelectControl usages. Verify the WordPress 6.7 deprecation warning is addressed without breaking styling on the earlier WordPress versions still supported.

Written by the indexing model from the issue text.

Description

Maintenance & Fixes wp-parsely

Is your feature request related to a problem?

In WordPress 6.7 and newer, when we go to certain PCI 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.

Dominant language
PHP
Stars
67
Forks
38
Avg merge
1d 5h
Merged PRs (30d)
79

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Parsely/wp-parsely

All issues in Parsely/wp-parsely

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.