[wp-hackers] get_post_meta() returning a cached WP_Error?

Mike Schinkel mikeschinkel at newclarity.net
Fri Oct 22 18:36:44 UTC 2010


Thanks for the quick response.

However, it is my bad.  The serialized WP_Error actually got stored as a post_meta value, so the error is upstream somewhere and probably not a bug in WordPress.

Sorry for the false alarm.

-Mike


On Oct 22, 2010, at 2:30 PM, scribu 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?
>> 
> 
> It's definetly a bug somewhere. You should open a ticket if you find out
> it's caused by WP.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list