-
Notifications
You must be signed in to change notification settings - Fork 17
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
Security fix: Escape html entities before passing to WP/photoswipe #219
Conversation
Codecov Report
@@ Coverage Diff @@
## master #219 +/- ##
============================================
- Coverage 40.82% 40.82% -0.01%
Complexity 13447 13447
============================================
Files 367 367
Lines 51277 51285 +8
============================================
Hits 20936 20936
- Misses 30341 30349 +8
Continue to review full report at Codecov.
|
@bahiirwa it's a good idea to explain what was tested/reviewed, we shouldn't just check the "approved" box with no context. See also #214 (comment) - we should probably make sure we agree on the approach we are using to review and approve these changes. |
Testing
|
Same checks done. Manual testing as ordinary user. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I compared the changes here against woocommerce/woocommerce@ffa230d. This looks good 👍
This PR also effectively includes woocommerce/woocommerce@9eb31f5 and whatever later commit reformatted this code. I think this is ok, just noting for tracking purposes (#226). |
Backport of security update to
includes/wc-template-functions.php
from woocommerce/woocommerce@ffa230dSee also #214
Files changed
includes/wc-template-functions.php