From c7d287c45a1b5ebd7c2a0a7d466559efed86d31c Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 4 Jun 2009 05:32:58 +0000 Subject: [PATCH] Don't pass by reference. Props kamiyeye. fixes #9994 git-svn-id: http://svn.automattic.com/wordpress/trunk@11518 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/formatting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index cb324f35d..26bfc694e 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -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]);