Don't pass by reference. Props kamiyeye. fixes #9994

git-svn-id: http://svn.automattic.com/wordpress/trunk@11518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-06-04 05:32:58 +00:00
parent cf7300c795
commit c7d287c45a
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ function wpautop($pee, $br = 1) {
* @param string $str The string to be checked
* @return bool True if $str fits a UTF-8 model, false otherwise.
*/
function seems_utf8(&$str) {
function seems_utf8($str) {
$length = strlen($str);
for ($i=0; $i < $length; $i++) {
$c = ord($str[$i]);