[wp-hackers] repeating fields in usermeta?
SoJ Web
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.
-Jeff
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.
>
> http://core.trac.wordpress.org/ticket/7540
>
> 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.
>
> --Casey
>
>
> 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
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list