#6696 closed enhancement (duplicate)
wordpress fails to sanitize ’
| Reported by: | sushubh | Owned by: | |
|---|---|---|---|
| Priority: | lowest | Milestone: | |
| Component: | General | Version: | 2.5 |
| Severity: | minor | Keywords: | needs-patch |
| Cc: | Focuses: |
Description
i type my blog posts in a word processor which convert ' to ’.
wordpress converts ’ to %e2%80%99 in slug...
i would like to suggest that ’ should be treated as ' while generating slugs!
another issue is …
… = ... it is also failed to sanitize during slug formation.
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
WordPress should treat ’ as ', but ’ should also be removed from the rule:
[^%a-z0-9 _-], but does not for some reason.You can probably get away with creating a plugin for now that hooks into the
sanitize_titlefilter and removes it that way.