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

Fix/block meta icon prop errors #40710

Merged
merged 2 commits into from
Apr 29, 2022
Merged

Fix/block meta icon prop errors #40710

merged 2 commits into from
Apr 29, 2022

Conversation

danieliser
Copy link
Contributor

What?

[x] Fix console errors due to usage of hyphenated props on JSX elements.
[x] Update icon export name appropriately.

Why?

There were errors being thrown in the console when using the blockMeta svg icon.

Warning: Invalid DOM property `fill-rule`. Did you mean `fillRule`?
Warning: Invalid DOM property `clip-rule`. Did you mean `clipRule`?

Testing Instructions

  1. Use the blockMeta svg icon and check the console.

Screenshots or screencast

image

@github-actions
Copy link

👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @danieliser! In case you missed it, we'd love to have you join us in our Slack community, where we hold regularly weekly meetings open to anyone to coordinate with each other.

If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information.

@github-actions github-actions bot added the First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository label Apr 29, 2022
@Mamaduka Mamaduka added [Type] Bug An existing feature does not function as intended [Package] Icons /packages/icons labels Apr 29, 2022
Copy link
Member

@Mamaduka Mamaduka left a comment

Choose a reason for hiding this comment

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

Thanks for contributing, @danieliser.

@Mamaduka Mamaduka merged commit 012c86c into WordPress:trunk Apr 29, 2022
@github-actions github-actions bot added this to the Gutenberg 13.2 milestone Apr 29, 2022
@danieliser
Copy link
Contributor Author

@Mamaduka - Thanks for the quick merge 👍 .

@Mamaduka Mamaduka added the Backport to WP Minor Release Pull request that needs to be backported to a WordPress minor release label May 25, 2022
@Mamaduka
Copy link
Member

Adding backport to minor release label.

adamziel pushed a commit that referenced this pull request Jun 21, 2022
* Fix hyphenated prop errors
* Correct wrong icon export name
@adamziel
Copy link
Contributor

I just cherry-picked this PR to the wp/6.0 branch to get it included in the next release: 8b69086

@adamziel adamziel removed the Backport to WP Minor Release Pull request that needs to be backported to a WordPress minor release label Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository [Package] Icons /packages/icons [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants