WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#8285 closed defect (bug) (duplicate)

Post/page stubs aren't sanitized enough

Reported by: Viper007Bond Owned by:
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.7
Component: General Keywords: needs-patch
Focuses: Cc:

Description

I have a few clients who prefer to copy/paste from Word or whatnot. This means they put fancy quotes into their post titles rather than letting WordPress do it.

For example, here's a post title:

This is a “cool” post

The stub generated off of that title:

this-is-a-%e2%80%9ccool%e2%80%9d-post

This is likely related to trying to keep funky characters from other languages intact, but I thought I'd open a ticket anyway.

Change History (2)

comment:1 Denis-de-Bernardy5 years ago

I see this one often too. it's almost always related to dashes, quotes (single, double, angle), and that nasty "..." character. maybe converting those things to their non-fancy version might do the trick?

comment:2 Denis-de-Bernardy5 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

See #2015

Note: See TracTickets for help on using tickets.