mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 18:13:00 +01:00
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:
parent
230a4bc6f0
commit
95df8d05fd
@ -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]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user