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

Widget Login Form Issues #2335

Merged
merged 7 commits into from Jan 25, 2023
Merged

Conversation

JarrydLong
Copy link
Contributor

All Submissions:

Changes proposed in this Pull Request:

Adjusted sanitization around the widget login form as multiple layers of escaping resulted in the fields being removed.

How to test the changes in this Pull Request:

  1. Add the Login Widget to a sidebar or widget field
  2. The login form fields should still show and work as expected

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

Improvements to escaping contents of login form widget

### All Submissions:

* [x] Have you followed the [Contributing guideline](CONTRIBUTING.MD)?
* [x] Does your code follow the [WordPress' coding standards](https://make.wordpress.org/core/handbook/best-practices/coding-standards/)?
* [x] Have you checked to ensure there aren't other open [Pull Requests](../../pulls) for the same update/change?

<!-- Mark completed items with an [x] -->

<!-- You can erase any parts of this template not applicable to your Pull Request. -->

### Changes proposed in this Pull Request:

Adjusted sanitization around the widget login form as multiple layers of escaping resulted in the fields being removed.

### How to test the changes in this Pull Request:

1. Add the Login Widget to a sidebar or widget field
2. The login form fields should still show and work as expected

### Other information:

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

<!-- Mark completed items with an [x] -->

### Changelog entry

Improvements to escaping contents of login form widget
@ideadude ideadude merged commit e8c5567 into strangerstudios:dev Jan 25, 2023
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.

None yet

2 participants