Ticket #2548: ent2ncr.diff
| File ent2ncr.diff, 472 bytes (added by random, 6 years ago) |
|---|
-
functions-formatting.php
1001 1001 '♦' => '♦' 1002 1002 ); 1003 1003 1004 foreach ($to_ncr as $entity => $ncr) { 1005 $text = str_replace($entity, $ncr, $text); 1006 } 1007 return $text; 1004 return str_replace( array_keys($to_ncr), array_values($to_ncr), $text ); 1008 1005 } 1009 1006 1010 1007 function wp_richedit_pre($text) {
