[wp-hackers] what's the purpose of user_status field in wp_users table?

Otto otto at ottodestruct.com
Mon Jan 5 14:37:38 GMT 2009


The usermeta structures are far better for this sort of thing. Using
an old field might mean you get boned when WP takes that old field
out.

Look at http://codex.wordpress.org/Function_Reference/update_usermeta instead.


On Mon, Jan 5, 2009 at 3:24 AM, dave jaggy <jayarjo at gmail.com> wrote:
> "vestigial organ" :) user_status field could be very useful in some cases.
>
> On Mon, Jan 5, 2009 at 10:49 AM, Austin Matzko <if.website at gmail.com> wrote:
>> On Mon, Jan 5, 2009 at 12:40 AM, dave jaggy <jayarjo at gmail.com> wrote:
>>> I wonder what's the purpose of user_status field in wp_users table? Is
>>> it used somewhere?
>>
>> "user_status" is not used in core WordPress.  It is a vestigial organ.
>>
>> However, are you sure you can't just use the WordPress usermeta API?
>> It's probably better for forwards-compatibility.
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
> _______________________________________________
> 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