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

Issue fixed for #57133 #3641

Closed
wants to merge 2 commits into from
Closed

Issue fixed for #57133 #3641

wants to merge 2 commits into from

Conversation

monzuralam
Copy link

@monzuralam monzuralam commented Nov 17, 2022

Trac ticket: [57133]


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

@rudlinkon
Copy link

Thanks to your PR you can escape the $label variable also.

@@ -443,7 +443,7 @@
<table class="form-table" role="presentation">
<tr class="form-field form-required">
<th scope="row"><label for="adduser-email"><?php echo $label; ?></label></th>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @monzuralam, your PR looks good to me.
Also, I think U can use esc_html for the $label just one line above ( line 445 )

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @hz-tyfoon, Thanks bhaia.
The label escaping issue has been fixed.

Copy link

@hz-tyfoon hz-tyfoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Looking pretty good now.

@SergeyBiryukov
Copy link
Member

Thanks for the PR! Merged in r54857.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants