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

Remove sanitizing for get_simple_local_avatar() #273

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

ocean90
Copy link
Contributor

@ocean90 ocean90 commented Apr 5, 2024

Description of the Change

Removes the superfluous use of wp_kses_post() which currently removes required attributes provided by get_avatar().

Closes #272

How to test the Change

Changelog Entry

Fixed - Ensure high-quality avatar preview on profile edit screen

Credits

Props @ocean90

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@ocean90 ocean90 requested review from jeffpaul and dkotter as code owners April 5, 2024 13:03
@dkotter dkotter added this to the 2.8.0 milestone Apr 5, 2024
@dkotter dkotter merged commit 94a8607 into 10up:develop Apr 5, 2024
10 of 11 checks passed
@faisal-alvi faisal-alvi modified the milestones: 2.8.0, 2.7.8 May 8, 2024
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.

Avatar preview is blurry on profile edit screen due to missing srcset attribute
3 participants