[wp-hackers] add_user_meta vs. add_post_meta handling w/ add_metadata

Daniel Cameron dan at sproutventure.com
Wed Aug 4 08:01:22 UTC 2010

I need some help trying to figure out why I can add unique metadata to a
post all day with add_post_meta, having it be serialized automatically but I
can't do the same with add_user_meta.


add_user_meta($this->memberID, '_transactions', $this->transactionID );
add_post_meta($this->postID, '_transactions', $this->transactionID );

Both function run through the add_metadata function ( AFAIK ) the same.

I'm definitely missing something here.

Thanks in advance.

More information about the wp-hackers mailing list