WordPress.org

Make WordPress Core

Ticket #9435: 9435-user-status.diff

File 9435-user-status.diff, 1.5 KB (added by Denis-de-Bernardy, 6 years ago)

drop user_status field -- see http://comox.textdrive.com/pipermail/wp-hackers/2009-January/023550.html

  • Users/denis/Sites/wp/wp-settings.php

     
    254254$db_field_types = array( 'post_author' => '%d', 'post_parent' => '%d', 'menu_order' => '%d', 'term_id' => '%d', 'term_group' => '%d', 'term_taxonomy_id' => '%d', 
    255255        'parent' => '%d', 'count' => '%d','object_id' => '%d', 'term_order' => '%d', 'ID' => '%d', 'commment_ID' => '%d', 'comment_post_ID' => '%d', 'comment_parent' => '%d', 
    256256        'user_id' => '%d', 'link_id' => '%d', 'link_owner' => '%d', 'link_rating' => '%d', 'option_id' => '%d', 'blog_id' => '%d', 'meta_id' => '%d', 'post_id' => '%d', 
    257         'user_status' => '%d', 'umeta_id' => '%d', 'comment_karma' => '%d', 'comment_count' => '%d'); 
     257        'umeta_id' => '%d', 'comment_karma' => '%d', 'comment_count' => '%d'); 
    258258 
    259259require_wp_db(); 
    260260 
  • Users/denis/Sites/wp/wp-admin/includes/schema.php

     
    152152  user_url varchar(100) NOT NULL default '', 
    153153  user_registered datetime NOT NULL default '0000-00-00 00:00:00', 
    154154  user_activation_key varchar(60) NOT NULL default '', 
    155   user_status int(11) NOT NULL default '0', 
    156155  display_name varchar(250) NOT NULL default '', 
    157156  PRIMARY KEY  (ID), 
    158157  KEY user_login_key (user_login),