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

Avatar block throws encountered error if the Avatar Display turned off from the Discussion settings #41311

Closed
mukeshpanchal27 opened this issue May 25, 2022 · 2 comments

Comments

@mukeshpanchal27
Copy link
Member

Description

Please check the instructions for more info about the error.

WordPress core: https://core.trac.wordpress.org/ticket/55818

Step-by-step reproduction instructions

If the Avatar Display turns off from the Settings > Discussion > Show Avatars(checkout):
Avatar block still shows on Gutenberg blocks(which should not be shown):
And if the Avatar block takes on an editor, it throws encountered error:

Screenshots, screen recording, code snippet

image

image

image

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

mukeshpanchal27 added a commit to mukeshpanchal27/gutenberg that referenced this issue May 25, 2022
@Mamaduka
Copy link
Member

Hi, @mukeshpanchal27

Thanks for creating the issue and a PR!

This is a duplicate of #41308, so let's close this one and reference the initial issue in your PR>

@mukeshpanchal27
Copy link
Member Author

mukeshpanchal27 commented May 25, 2022

Ok, thanks. Let's close this issue.

cbravobernal pushed a commit that referenced this issue Jun 7, 2022
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

2 participants