Ticket #7768 (closed defect (bug): fixed)
Post meta escaped incorrectly
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7 |
| Component: | General | Version: | 2.6.1 |
| Severity: | normal | Keywords: | has-patch commit |
| 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
Change History
comment:1
KingdomGeek — 3 years ago
Thanks for getting this added so quickly, DD32!
I applied this patch to my 2.6.2 installation, and it works perfectly.
Note: See
TracTickets for help on using
tickets.

