WordPress.org

Make WordPress Core

Ticket #19820: 19820.3.patch

File 19820.3.patch, 797 bytes (added by kurtpayne, 3 years ago)

Removed the patch that belongs in 10823

  • wp-includes/formatting.php

     
    925925                $title = str_replace( array( '%c2%ab', '%c2%bb', '%e2%80%b9', '%e2%80%ba' ), '', $title ); 
    926926                // curly quotes 
    927927                $title = str_replace( array( '%e2%80%98', '%e2%80%99', '%e2%80%9c', '%e2%80%9d' ), '', $title ); 
     928                $title = str_replace( array( '%e2%80%9a', '%e2%80%9b', '%e2%80%9e', '%e2%80%9f' ), '', $title ); 
    928929                // copy, reg, deg, hellip and trade 
    929930                $title = str_replace( array( '%c2%a9', '%c2%ae', '%c2%b0', '%e2%80%a6', '%e2%84%a2' ), '', $title ); 
     931                // times 
     932                $title = str_replace( '%c3%97', 'x', $title ); 
    930933        } 
    931934 
    932935        $title = preg_replace('/[^%a-z0-9 _-]/', '', $title);