#54295 closed enhancement (fixed)
Unnecessarily escaped values in various customizer control in wp-includes/cusstomizer
| Reported by: | sabbirshouvo | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.9 |
| Component: | Customize | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | coding-standards |
Description
In most cases data.description is not needed to escape but escaped in multiple controls. Also in wp-includes/class-wp-customize-control.php some labels and ids are not properly escaped.
Attachments (1)
Change History (6)
This ticket was mentioned in Slack in #core by sergey. View the logs.
5 years ago
#4
@
5 years ago
- Resolution → fixed
- Status assigned → closed
Closing as the patch is committed and will ship in 5.9.
#5
@
5 years ago
Just noting that only the first part of the patch was committed, which adds some missing esc_attr() calls.
I did not touch the (presumably) unnecessarily escaped values, as that required more investigation and I don't see any harm in leaving them as is for now. If anyone thinks that part should be addressed as well, feel free to reopen.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 51927: