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 #41308

Closed
abid112 opened this issue May 25, 2022 · 1 comment
Assignees
Labels
[Block] Avatar Affects the Avatar Block Good First Issue An issue that's suitable for someone looking to contribute for the first time [Type] Bug An existing feature does not function as intended

Comments

@abid112
Copy link

abid112 commented May 25, 2022

Description

If the Avatar Display turns off from the Settings > Discussion > Show Avatars(checkout): https://i.imgur.com/60w37sA.png
Avatar block still shows on Gutenberg blocks(which should not be shown): https://i.imgur.com/OYMqWaX.png
And if the Avatar block takes on an editor, it throws encountered error: https://i.imgur.com/y9LSwER.png

Step-by-step reproduction instructions

  1. Turn off Show Avatars from the Settings > Discussion > Show Avatars(checkout): https://i.imgur.com/60w37sA.png
  2. Go to Gutenberg editor and take Avatar block which will throws the error: https://i.imgur.com/y9LSwER.png

Screenshots, screen recording, code snippet

No response

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

@cbravobernal
Copy link
Contributor

Closing this issue as it is fixed in #41354

Repository owner moved this from Triage to Done in WordPress 6.0.x Editor Tasks Jun 15, 2022
@priethor priethor removed the [Status] In Progress Tracking issues with work in progress label May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Avatar Affects the Avatar Block Good First Issue An issue that's suitable for someone looking to contribute for the first time [Type] Bug An existing feature does not function as intended
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants