Schema: Increase length of user_pass
and user_activation_key
fields to 255.
Props grvrulz and Miglosh for testing. Fixes #33904. git-svn-id: https://develop.svn.wordpress.org/trunk@35638 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fb8b991809
commit
0792eaf237
@ -194,12 +194,12 @@ CREATE TABLE $wpdb->posts (
|
||||
$users_single_table = "CREATE TABLE $wpdb->users (
|
||||
ID bigint(20) unsigned NOT NULL auto_increment,
|
||||
user_login varchar(60) NOT NULL default '',
|
||||
user_pass varchar(64) NOT NULL default '',
|
||||
user_pass varchar(255) NOT NULL default '',
|
||||
user_nicename varchar(50) NOT NULL default '',
|
||||
user_email varchar(100) NOT NULL default '',
|
||||
user_url varchar(100) NOT NULL default '',
|
||||
user_registered datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
user_activation_key varchar(60) NOT NULL default '',
|
||||
user_activation_key varchar(255) NOT NULL default '',
|
||||
user_status int(11) NOT NULL default '0',
|
||||
display_name varchar(250) NOT NULL default '',
|
||||
PRIMARY KEY (ID),
|
||||
@ -211,12 +211,12 @@ CREATE TABLE $wpdb->posts (
|
||||
$users_multi_table = "CREATE TABLE $wpdb->users (
|
||||
ID bigint(20) unsigned NOT NULL auto_increment,
|
||||
user_login varchar(60) NOT NULL default '',
|
||||
user_pass varchar(64) NOT NULL default '',
|
||||
user_pass varchar(255) NOT NULL default '',
|
||||
user_nicename varchar(50) NOT NULL default '',
|
||||
user_email varchar(100) NOT NULL default '',
|
||||
user_url varchar(100) NOT NULL default '',
|
||||
user_registered datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
user_activation_key varchar(60) NOT NULL default '',
|
||||
user_activation_key varchar(255) NOT NULL default '',
|
||||
user_status int(11) NOT NULL default '0',
|
||||
display_name varchar(250) NOT NULL default '',
|
||||
spam tinyint(2) NOT NULL default '0',
|
||||
|
@ -11,7 +11,7 @@ $wp_version = '4.4-beta4-35625-src';
|
||||
*
|
||||
* @global int $wp_db_version
|
||||
*/
|
||||
$wp_db_version = 35465;
|
||||
$wp_db_version = 35638;
|
||||
|
||||
/**
|
||||
* Holds the TinyMCE version
|
||||
|
Loading…
Reference in New Issue
Block a user