[wp-hackers] get_post_meta() returning a cached WP_Error?
mail at scribu.net
Fri Oct 22 18:32:19 UTC 2010
On Fri, Oct 22, 2010 at 9:30 PM, scribu <mail at scribu.net> wrote:
> On Fri, Oct 22, 2010 at 9:26 PM, Mike Schinkel <
> mikeschinkel at newclarity.net> wrote:
>> Should get_post_meta() be returning a cached WP_Error like this? I'm
>> passing single=true so shouldn't I just be getting an empty string? Is this
>> a bug for trac, or expected behavior?
By the way, single=true just means that it returns the first value it finds,
after running maybe_unserialize() on it.
More information about the wp-hackers