[wp-trac] [WordPress Trac] #11827: json_encode and json_decode functions in compat.php do not safely include class-json.php

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 9 00:42:27 UTC 2010


#11827: json_encode and json_decode functions in compat.php do not safely include
class-json.php
--------------------------+-------------------------------------------------
 Reporter:  alexkingorg   |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  high          |   Milestone:  Unassigned
Component:  General       |     Version:            
 Severity:  major         |    Keywords:            
--------------------------+-------------------------------------------------

Comment(by azaozz):

 Seems that `get_declared_classes()` returns the classnames as lowercase in
 PHP4 and with normal capitalization in PHP5. Perhaps better to use
 class_exists() in Snoopy too.

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


More information about the wp-trac mailing list