mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-04 03:51:38 +00:00
Fix for unencoded ampersands. When did we lose this?
git-svn-id: https://develop.svn.wordpress.org/trunk@1361 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -43,6 +43,7 @@ function wptexturize($text) {
|
|||||||
} else {
|
} else {
|
||||||
$next = true;
|
$next = true;
|
||||||
}
|
}
|
||||||
|
$curl = preg_replace('/&([^#])(?![a-z]{1,8};)/', '&$1', $curl);
|
||||||
$output .= $curl;
|
$output .= $curl;
|
||||||
}
|
}
|
||||||
return $output;
|
return $output;
|
||||||
@@ -413,4 +414,4 @@ function get_date_from_gmt($string) {
|
|||||||
return $string_localtime;
|
return $string_localtime;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
Reference in New Issue
Block a user