[wp-trac] [WordPress Trac] #10803: get_post_meta doesn't return an array when requested if nothing with that key exists.

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 17 22:04:51 UTC 2009


#10803: get_post_meta doesn't return an array when requested if nothing with that
key exists.
--------------------------+-------------------------------------------------
 Reporter:  westi         |       Owner:  westi      
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  2.9        
Component:  General       |     Version:  2.8.4      
 Severity:  normal        |    Keywords:  2nd-opinion
--------------------------+-------------------------------------------------

Comment(by westi):

 Discussed in dev-chat today.

 Should return {{{array()}}} in this case.

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


More information about the wp-trac mailing list