mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Copyright and registered corrections cause more trouble than they help
git-svn-id: http://svn.automattic.com/wordpress/trunk@2178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
01b7f5aaf4
commit
1a10aedc78
@ -32,8 +32,6 @@ function wptexturize($text) {
|
||||
$curl = preg_replace('/"(\s|\S|\Z)/', '”$1', $curl);
|
||||
$curl = preg_replace("/'([\s.]|\Z)/", '’$1', $curl);
|
||||
$curl = preg_replace("/ \(tm\)/i", ' ™', $curl);
|
||||
$curl = preg_replace("/ \(c\)/i", ' ©', $curl);
|
||||
$curl = preg_replace("/ \(r\)/i", ' ®', $curl);
|
||||
$curl = str_replace("''", '”', $curl);
|
||||
|
||||
$curl = preg_replace('/(d+)x(\d+)/', "$1×$2", $curl);
|
||||
|
Loading…
Reference in New Issue
Block a user