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

HTML symbol not showing up because of esc_html() #3323

Open
3 tasks done
mircobabini opened this issue Feb 26, 2025 · 0 comments
Open
3 tasks done

HTML symbol not showing up because of esc_html() #3323

mircobabini opened this issue Feb 26, 2025 · 0 comments

Comments

@mircobabini
Copy link
Member

Describe the bug
Some encoded HTML shows up because of esc_html() when you try to update a "Paid" Add On.

To Reproduce
Image

Expected behavior
Since esc_html() is required and other escape solutions are not real solutions, we can:

  • change the > to something like a dash or a comma (not so cool, but...)
  • or use str_replace after the escape to restore > => > - hacky but cool.

Isolating the problem (mark completed items with an [x]):

  • I have deactivated other plugins and confirmed this bug occurs when only Paid Memberships Pro plugin is active.
  • This bug happens with a default WordPress theme active, or Memberlite.
  • I can reproduce this bug consistently using the steps above.
@mircobabini mircobabini changed the title HTML symbol not showing up because of esc_html(). HTML symbol not showing up because of esc_html() Feb 26, 2025
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

1 participant