Fixes #984 Make settings page checkboxes clickable again#986
Fixes #984 Make settings page checkboxes clickable again#986remyperona merged 4 commits intodevelopfrom
Conversation
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferences |
wordpressfan
left a comment
There was a problem hiding this comment.
It's working as expected but I'm wondering why don't we escape the attributes using esc_attr or something similar instead of just echo them?
I'm approving them because this was the case already there before.
|
It will be managed in a different PR when tackling #972, I avoided doing too many changes at the same time |
Description
Fixes #984
Fix the issue where the settings page checkboxes are unclickable in the 2.2.6 first test round
Type of change
Detailed scenario
What was tested
Tested checking/unchecking checkboxes on Imagify settings page
How to test
Go on Imagify settings page, and try to check/uncheck the checkboxes
Technical description
Documentation
The issue happened because of extra spacing in the HTML attributes, following some fixes for PHP CodeSniffer. This caused the label and input to not match anymore.
Mandatory Checklist
Code validation
Code style
Unticked items justification
Can't add tests for this output