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

Fixing HTML in check instructions #3293 #3295

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

derekashauer
Copy link

@derekashauer derekashauer commented Feb 11, 2025

Instructions for check payments would save with < p > tags wrapping everything and show it in the admin textarea box after saving

All Submissions:

Changes proposed in this Pull Request:

Resolves #3293 by using esc_textarea to properly prep the text for the textarea field

How to test the changes in this Pull Request:

  1. Admin settings go to Payment Gateway
  2. Choose check
  3. Enter instructions, save

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you successfully run tests with your changes locally?

Changelog entry

Enter a summary of all changes on this Pull Request. This will appear in the changelog if accepted.

Fix issue saving check payment instructions adding unnecessary < p > tags in admin settings

Instructions for check payments would save with <p> tags wrapping everything and show it in the admin textarea box after saving
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.

Saving instructions for check method shows HTML in textarea after save
1 participant