WordPress.org

Make WordPress Core

Ticket #2735: formatting.php.diff

File formatting.php.diff, 478 bytes (added by ketsugi, 9 years ago)

This should strip the pound symbol. I couldn't figure out where the $ symbol was being stripped so I put it in with the remove_accents() function.

  • formatting.php

     
    242242                chr(197).chr(188) => 'z', chr(197).chr(189) => 'Z', 
    243243                chr(197).chr(190) => 'z', chr(197).chr(191) => 's', 
    244244                // Euro Sign 
    245                 chr(226).chr(130).chr(172) => 'E'); 
     245                chr(226).chr(130).chr(172) => 'E', 
     246                // Pound Sign 
     247                chr(194).chr(163) => ''); 
    246248 
    247249                $string = strtr($string, $chars); 
    248250        } else {