[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 03:06:00 UTC 2011
#17087: get_post_meta returns empty array when requesting non-exsistent post meta
-------------------------------+------------------------------
Reporter: thomasvonhassel | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: major | Resolution:
Keywords: reporter-feedback |
-------------------------------+------------------------------
Comment (by dd32):
I cant see how that'd be possible looking at the code.
The only case would be, in the event that metakey is null/empty, then the
$single param is not applied, as an empty metakey is asking for all
metadata; applying single in that case doesn't make sense.
Do you have any metadata filters? Any plugins activated?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17087#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list