Opened 15 years ago
Last modified 15 years ago
#10803 closed defect (bug)
get_post_meta doesn't return an array when requested if nothing with that key exists. — at Initial Version
Reported by: | westi | Owned by: | westi |
---|---|---|---|
Milestone: | 2.9 | Priority: | normal |
Severity: | normal | Version: | 2.8.4 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
e.g. get_post_meta($this->post_id, 'unique', false)
Where no metadata for key 'unique' exist on the post returns instead of array();
Note: See
TracTickets for help on using
tickets.