From 95df8d05fdb3312fa7b2f542bcefe57cb4188bd4 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 4 Jun 2009 05:32:58 +0000 Subject: [PATCH] Don't pass by reference. Props kamiyeye. fixes #9994 git-svn-id: https://develop.svn.wordpress.org/trunk@11518 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 cb324f35d5..26bfc694e0 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]);