#38352 closed defect (bug) (duplicate)
get_metadata() doesn't maybe_unserialize() when no key is provided
Reported by: | hcgernhardtiii | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.6 |
Component: | Options, Meta APIs | Keywords: | |
Focuses: | Cc: |
Description
When a key is not provided to get_metadata()
, it simply returns the raw contents of the cache (see meta.php lines 501--503) rather than applying maybe_unserialize()
to each retrieved metadata item as is done when a key is provided. This seems to me to be inconsistent behavior. Does this need to be changed/fixed?
Change History (2)
Note: See
TracTickets for help on using
tickets.
Duplicate of #15030.