WordPress.org

Make WordPress Core

Ticket #30130: patch.diff

File patch.diff, 709 bytes (added by zodiac1978, 5 years ago)
  • src/wp-includes/formatting.php

     
    14231423        $content = str_replace('<br>', '<br />', $content);
    14241424        $content = str_replace('<hr>', '<hr />', $content);
    14251425
     1426        $content = str_replace( "a\xCC\x88", "ä", $content );
     1427        $content = str_replace( "o\xCC\x88", "ö", $content );
     1428        $content = str_replace( "u\xCC\x88", "ü", $content );
     1429        $content = str_replace( "A\xCC\x88", "Ä", $content );
     1430        $content = str_replace( "O\xCC\x88", "Ö", $content );
     1431        $content = str_replace( "U\xCC\x88", "Ü", $content );
     1432
    14261433        return $content;
    14271434}
    14281435