Opened 15 years ago
Closed 15 years ago
#12822 closed defect (bug) (duplicate)
Apostrophe in title no longer deleted in slug
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.9 |
Component: | Permalinks | Keywords: | apostrophe, title, slug |
Focuses: | Cc: |
Description
My client is creating post titles that contain an apostrophe. It's hard to avoid because his restaurant name includes " ... Joe's " The slug that is created is now retaining the apostrophe in the URL. This creates a server error when opening that post. I am manually having to go behind him and deleting the apostrophe in quick edit.
What's strange is that previous posts in an earlier version (2.7 or 2.8 - I can't remember, we are on 2.9 now) automatically deleted the apostrophe along with other bad characters such as exclamation marks.
Example:
- Before the upgrade:
- - Title= Contest at Holy Joe's Today!
- - Slug= http://domain.com/wp/contest-at-holy-joes-today
- After the upgrade:
- - Title= Contest at Holy Joe's Today!
- - Slug= http://domain.com/wp/contest-at-holy-joe's-today
Change History (1)
Note: See
TracTickets for help on using
tickets.
See #9591.