WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#9127 closed enhancement (wontfix)

sanitize_title() should convert apostrophe to dash

Reported by: SteveAgl Owned by: ryan
Milestone: Priority: normal
Severity: normal Version: 2.7.1
Component: Permalinks Keywords: needs-patch 2nd-opinion dev-feedback
Focuses: Cc:

Description

During permalink generation WP cut apostrophes attaching the two words toghether, in english this usually drive to a nice formof permalink in other languages (italian in my case) this make article get attached to words (es. L'ultima pagina became lultima-pagina.

Would be nice to have the apostrophe subistitued by a dash.

Change History (4)

comment:1 FFEMTcJ5 years ago

  • Milestone changed from 2.8 to Future Release
  • Priority changed from high to normal
  • Severity changed from major to normal

comment:2 Denis-de-Bernardy5 years ago

  • Keywords needs-patch 2nd-opinion added
  • Summary changed from Better permalink sanitization to sanitize_title() should convert apostrophe to dash

personally I like this behavior...

comment:4 Denis-de-Bernardy5 years ago

  • Keywords dev-feedback added
  • Milestone Future Release deleted
  • Resolution set to wontfix
  • Status changed from new to closed

current behavior seems more natural. please re-open with a patch if you disagree.

Note: See TracTickets for help on using tickets.