is_serialized() should be renamed to might_be_serialized();
|Reported by:||hakre||Owned by:|
is_serialized() peeks into a string and 'tries' to find out if it is serialied (= encoded) data.
infact it looks for data being a string and then checks if it might be serialized data. for example, the string 'N;' is interpreted as serialized data. well, this can actually be just a string.
next to this the function is not aware of handling utf-8. it does not check wether or not the passed string is utf-8 encoded. then it uses regular expressions that are not utf-8 aware (and which can not, because WP is php 4.3 compatbile with has no such functionality with pcre).