[wp-trac] [WordPress Trac] #9663: is_serialized() should be renamed to might_be_serialized();

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 6 20:08:18 UTC 2010


#9663: is_serialized() should be renamed to might_be_serialized();
--------------------------+-------------------------------------------------
 Reporter:  hakre         |        Owner:  anonymous
     Type:  defect (bug)  |       Status:  closed   
 Priority:  normal        |    Milestone:  2.9      
Component:  Charset       |      Version:  2.7.1    
 Severity:  normal        |   Resolution:  wontfix  
 Keywords:                |  
--------------------------+-------------------------------------------------

Comment(by sirzooro):

 PCRE functions in PHP 4.3 are utf-8-aware - excerpt from
 [http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php PHP
 documentation for Pattern Modifiers]:

 >u (PCRE8)[[BR]]
 >This modifier turns on additional functionality of PCRE that is
 incompatible with Perl. Pattern strings are treated as UTF-8. This
 modifier is available from PHP 4.1.0 or greater on Unix and from PHP 4.2.3
 on win32. UTF-8 validity of the pattern is checked since PHP 4.3.5.


 So in 4.3 we do not have checks for utf-8 pattern validity, but
 functionality is present.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9663#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list