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

Refactor/update deprecated function #2630

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gvgvgvijayan
Copy link

Description

From WP 6.1 __experimentalGetSettings settings is deprecated, therefore update it with getSettings because Coblocks min WP is 6.3, which is safe to replace experimental function.

https://github.com/WordPress/gutenberg/blob/v20.2.0/packages/date/src/index.js#L211-L227

Screenshots

Types of changes

Bug fix: Replaced deprecated function with standard one.

How has this been tested?

Yarn start and tested the plugin's blocks.

Acceptance criteria

Checklist:

  • My code is tested
  • My code follows accessibility standards
  • My code has proper inline documentation
  • I've included any necessary tests
  • I've included developer documentation
  • I've added proper labels to this pull request

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.

1 participant