Opened 15 years ago
Closed 15 years ago
#1905 closed defect (bug) (fixed)
slash in @mention email
Reported by: | intimez | Owned by: | |
---|---|---|---|
Milestone: | 1.2 | Priority: | major |
Severity: | Version: | ||
Component: | Keywords: | @mention, mention has-patch | |
Cc: |
Description
user post @mention with words that include apostrophe and the email shows slash
example:
@guest what's it's won't
email will show
"@guest what\'s it\'s won\'t"
Attachments (2)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Patch attached. Replaced function
stripslashes_deep
withstripslashes
, as it wasn't stripping the slashes. Also, removed the wp_filter_kses() function from the $group->name variable, as it was adding the slashes back after being stripped.