[wp-hackers] repeating fields in usermeta?
sojweb at indiana.edu
Thu Apr 16 17:31:35 GMT 2009
Yeah, six of one, half a dozen of the other :-). However it ends up
working, it does seem they ought to behave identically.
On Apr 16, 2009, at 13:23 PM, Casey Bisson wrote:
> You're probably right. I'd like this solved more than anything else.
> Still, I did up a patch of my own before I saw yours.
> As noted in my comment in Trac, the only advantage my solution
> offers over yours is that it makes user meta and post meta identical
> in behavior and nearly identical in code. It also occurs to me that
> the post_meta and user_meta functions could be consolidated into one
> set of functions that works identically simply by adding a parameter
> to identify if it's working on posts or users.
> Your solution has the advantage of being less dramatic. Either works
> for me in the short run.
> On Apr 16, 2009, at 1:10 PM, SoJ Web wrote:
>> They seemed small enough and similar enough that just modifying
>> them would work, and adding where it's needed (like an add_usermeta
>> function). That also avoids deprecating functions.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers