[wp-trac] [WordPress Trac] #12822: Apostrophe in title no longer deleted in slug
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 2 21:17:23 UTC 2010
#12822: Apostrophe in title no longer deleted in slug
--------------------------+-------------------------------------------------
Reporter: paullee357 | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Permalinks | Version: 2.9
Severity: normal | Keywords: apostrophe, title, slug
--------------------------+-------------------------------------------------
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
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12822>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list