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

Fixed escaped quote on 'revision you submitted' email message #1370

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

petenelson
Copy link

The "A revision to the..." email message is being run through esc_html(), then the escaped double-quote is being converted back to plain text here: https://github.com/publishpress/PublishPress-Revisions/blob/master/admin/revision-action_rvy.php#L445

However, the "The revision you submitted for the..." email message is being escaped, but the escaped quote is not being converted back to plain text here: https://github.com/publishpress/PublishPress-Revisions/blob/master/admin/revision-action_rvy.php#L531

Example:
image

This PR fixes this formatting issue, and I also saw the same thing happening in a few other spots in revision-action_rvy.php

@stevejburge stevejburge added this to the 3.5.15 milestone Oct 16, 2024
@stevejburge
Copy link
Member

Thanks @petenelson

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.

2 participants