[wp-trac] [WordPress Trac] #17087: get_post_meta returns empty array when requesting non-exsistent post meta

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 9 08:00:22 UTC 2011


#17087: get_post_meta returns empty array when requesting non-exsistent post meta
-----------------------------+------------------------------
 Reporter:  thomasvonhassel  |       Owner:
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:  3.1
 Severity:  trivial          |  Resolution:  invalid
 Keywords:                   |
-----------------------------+------------------------------
Changes (by thomasvonhassel):

 * keywords:  reporter-feedback =>
 * status:  new => closed
 * resolution:   => invalid
 * severity:  major => trivial


Comment:

 Sorry guys, somehow i have been saving empty arrays into metavalues that
 should been empty or not set at all ... always check your database first
 ..

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


More information about the wp-trac mailing list