[wp-trac] [WordPress Trac] #11963: json_decode() only supports only "stdClass Object" but no "array"

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 28 04:35:44 UTC 2010


#11963: json_decode() only supports only "stdClass Object" but no "array"
-------------------------+--------------------------------------------------
 Reporter:  carbolineum  |        Owner:        
     Type:  enhancement  |       Status:  closed
 Priority:  normal       |    Milestone:  3.0   
Component:  General      |      Version:  2.9.1 
 Severity:  normal       |   Resolution:  fixed 
 Keywords:  needs-patch  |  
-------------------------+--------------------------------------------------
Changes (by dd32):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 (In [13862]) Implement the 2nd parameter of json_decode() for back-compat
 purposes. Returns an associative array instead of an object. Fixes #11963

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


More information about the wp-trac mailing list