#32142 closed defect (bug) (fixed)
Escape $s global
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Query | Keywords: | |
Focuses: | template | Cc: |
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
@
10 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: