Opened 21 years ago
Closed 21 years ago
#594 closed defect (bug) (fixed)
wp_specialchars doesn't sanitize single quotes due to typo
| Reported by: | | Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | minor | Version: | 1.5 |
| Component: | General | Keywords: | |
| Focuses: | Cc: |
Description
The two string replaces for quotes in the function are meant to apply to double quotes first, and single quotes second. Because of a typo, double quotes are applied, but the expression to sanitize single quotes is the same original as the one for double quotes, and since double quotes were already sanitized, they aren't sanitized again, but single quotes still remain unaltered.
Attachments (1)
Change History (3)
Note: See TracTickets for help on using tickets.