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

git-svn-id: https://develop.svn.wordpress.org/trunk@11518 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-06-04 05:32:58 +00:00
parent 230a4bc6f0
commit 95df8d05fd
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]);