users - What the user_status column?

I was look in the wp_users table a " user_status " column...( all contain zero )What works is this data? I was

I was look in the wp_users table a " user_status " column...( all contain zero )

What works is this data?

I was look in the wp_users table a " user_status " column...( all contain zero )

What works is this data?

Share Improve this question asked Apr 14, 2018 at 22:59 l6lsl6ls 3311 gold badge3 silver badges10 bronze badges 2
  • A quick Google search or search here in the WordPress Stack Exchange would have revealed the answer - it's no longer used by WordPress core. – Mat Commented Apr 14, 2018 at 23:11
  • I'dont find, the results mixed my head... not using the only real thing anymore – l6ls Commented Apr 14, 2018 at 23:14
Add a comment  | 

2 Answers 2

Reset to default 9

The user_status column in the wp_users table is no longer used by WordPress core - it just hasn't been removed. It may, or may not be used in the future. Best to leave it alone...

It is used to update the status of a user in the database. Used in core to mark a user as spam or "ham" (not spam) on multisite installs.

Status 0 is Ham
Status 1 is Spam

Again, this will not work on single site installs.

https://codex.wordpress/Function_Reference/update_user_status#Mark_a_User_as_Spam

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745158255a4614254.html

相关推荐

  • users - What the user_status column?

    I was look in the wp_users table a " user_status " column...( all contain zero )What works is this data? I was

    6小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信