Opened 16 years ago
Closed 16 years ago
#7768 closed defect (bug) (fixed)
Post meta escaped incorrectly
Reported by: | DD32 | Owned by: | |
---|---|---|---|
Milestone: | 2.7 | Priority: | normal |
Severity: | normal | Version: | 2.6.1 |
Component: | General | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
As raised by Rick Beckman on wp-hackers, " and ' are double escaped upon adding post meta.
wpdb::escape() is being called on the metadata twice. See the attached patch
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Thanks for getting this added so quickly, DD32!
I applied this patch to my 2.6.2 installation, and it works perfectly.