[wp-trac] Re: [WordPress Trac] #7014: get_post_custom() doesn't always return an array

WordPress Trac wp-trac at lists.automattic.com
Wed May 21 16:15:37 GMT 2008


#7014: get_post_custom() doesn't always return an array
---------------------+------------------------------------------------------
 Reporter:  donncha  |        Owner:  anonymous
     Type:  defect   |       Status:  new      
 Priority:  normal   |    Milestone:  2.5.2    
Component:  General  |      Version:  2.5.1    
 Severity:  normal   |   Resolution:           
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by donncha):

 Casting the return of get_post_custom() as an array fixes this problem.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7014#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list