WordPress.org

Make WordPress Core

Changeset 44579


Ignore:
Timestamp:
01/14/2019 05:38:41 AM (7 months ago)
Author:
pento
Message:

Formatting: Remove soft hyphens when sanitising titles.

Props andg.
Fixes #45378.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/formatting.php

    r44566 r44579  
    22332233        $title = str_replace(
    22342234            array(
     2235                // soft hyphens
     2236                '%c2%ad',
    22352237                // iexcl and iquest
    22362238                '%c2%a1',
Note: See TracChangeset for help on using the changeset viewer.