Ticket #16432: 16432.diff
| File 16432.diff, 451 bytes (added by GaryJ, 2 years ago) |
|---|
| Line | |
|---|---|
| 1 | Index: wp-includes/formatting.php |
| 2 | =================================================================== |
| 3 | --- wp-includes/formatting.php (revision 18126) |
| 4 | +++ wp-includes/formatting.php (working copy) |
| 5 | @@ -2135,7 +2135,7 @@ |
| 6 | '♦' => '♦' |
| 7 | ); |
| 8 | |
| 9 | - return str_replace( array_keys($to_ncr), array_values($to_ncr), $text ); |
| 10 | + return apply_filters( 'ent2ncr', str_replace( array_keys($to_ncr), array_values($to_ncr), $text ), $text ); |
| 11 | } |
| 12 | |
| 13 | /** |
