Opened 18 years ago
Closed 18 years ago
#7768 closed defect (bug) (fixed)
Post meta escaped incorrectly
| Reported by: | DD32 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7 |
| Component: | General | Version: | 2.6.1 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thanks for getting this added so quickly, DD32!
I applied this patch to my 2.6.2 installation, and it works perfectly.