WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#20207 closed defect (bug) (worksforme)

Special characters are not being cleaned up in slug

Reported by: lucianobargmann Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.3.1
Component: Permalinks Keywords:
Focuses: Cc:

Description

I wrote this post title: "Recap 2ª Convenção de Lideranças" and slug generated was "recap-2ª-convencao-de-liderancas"

I think the "ª" should be removed from the slug.

Change History (2)

comment:1 @SergeyBiryukov3 years ago

U+00AA ª Feminine ordinal indicator
U+00BA º Masculine ordinal indicator 

The suggestion in ticket:9591:47 was to sanitize these symbols to "a" and "o", respectively.

With your example, I get "recap-2a-convencao-de-liderancas" on 3.3.1.

comment:2 @SergeyBiryukov3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Feel free to reopen if there's still a problem, or if the current sanitization should be reconsidered.

Note: See TracTickets for help on using tickets.