#32142 closed defect (bug) (fixed)
Escape $s global
| Reported by: | nacin | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.3 |
| Component: | Query | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | template |
Description
I've had this on my list for years of something we should do. So, let's try it and see what breaks.
Change History (3)
#2
follow-up:
↓ 3
@
12 years ago
Seems to me like this punishes themes doing it correctly? If I was previously doing title="echo esc_attr( $s )" (correctly doing late escaping), the text would now be double-escaped.
Also, pretty sure it breaks if you pass it back into WP_Query, which I can see done in one of the themes I have locally.
Note:
See TracTickets
for help on using tickets.
In 32298: