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

Learnpress removes wordpress avatar classes. #566

Open
divineproclamation opened this issue Feb 23, 2024 · 2 comments
Open

Learnpress removes wordpress avatar classes. #566

divineproclamation opened this issue Feb 23, 2024 · 2 comments

Comments

@divineproclamation
Copy link

Hi,

The learnpress plugin removes standard WordPress avatar classes.

<img alt="User Avatar" src="http://yourwebsite.com/wp-content/uploads/learn-press-profile/1/e1f6c13aa2e0a9e18fa6dbd5b384bccd.jpeg" height="250" width="250">

This piece of html was retrieved by the get_avatar() function.

See it suppose to have the .avatar class, but it's missing. If deactivate the learnpress plugin, it works fine. So perhaps, look into the matter.

Thanks in advance. It's a great plugin.

Cheers!

@divineproclamation
Copy link
Author

Screenshot 2024-02-23 at 11 03 51 PM

See this screenshot from eduma theme.

@tungnxt89
Copy link
Collaborator

tungnxt89 commented May 14, 2024

Hi divineproclamation,

LearnPress does not rewrite the "get avatar" function of WordPress, but instead customizes it for itself. So, why does LP need that class?

Thanks.

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