Schema: Increase length of `user_pass` and `user_activation_key` fields to 255.
Props grvrulz and Miglosh for testing. Fixes #33904. Built from https://develop.svn.wordpress.org/trunk@35638 git-svn-id: http://core.svn.wordpress.org/trunk@35602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9974c9b18d
commit
40b303069a
|
@ -194,12 +194,12 @@ CREATE TABLE $wpdb->posts (
|
||||||
$users_single_table = "CREATE TABLE $wpdb->users (
|
$users_single_table = "CREATE TABLE $wpdb->users (
|
||||||
ID bigint(20) unsigned NOT NULL auto_increment,
|
ID bigint(20) unsigned NOT NULL auto_increment,
|
||||||
user_login varchar(60) NOT NULL default '',
|
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_nicename varchar(50) NOT NULL default '',
|
||||||
user_email varchar(100) NOT NULL default '',
|
user_email varchar(100) NOT NULL default '',
|
||||||
user_url 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_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',
|
user_status int(11) NOT NULL default '0',
|
||||||
display_name varchar(250) NOT NULL default '',
|
display_name varchar(250) NOT NULL default '',
|
||||||
PRIMARY KEY (ID),
|
PRIMARY KEY (ID),
|
||||||
|
@ -211,12 +211,12 @@ CREATE TABLE $wpdb->posts (
|
||||||
$users_multi_table = "CREATE TABLE $wpdb->users (
|
$users_multi_table = "CREATE TABLE $wpdb->users (
|
||||||
ID bigint(20) unsigned NOT NULL auto_increment,
|
ID bigint(20) unsigned NOT NULL auto_increment,
|
||||||
user_login varchar(60) NOT NULL default '',
|
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_nicename varchar(50) NOT NULL default '',
|
||||||
user_email varchar(100) NOT NULL default '',
|
user_email varchar(100) NOT NULL default '',
|
||||||
user_url 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_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',
|
user_status int(11) NOT NULL default '0',
|
||||||
display_name varchar(250) NOT NULL default '',
|
display_name varchar(250) NOT NULL default '',
|
||||||
spam tinyint(2) NOT NULL default '0',
|
spam tinyint(2) NOT NULL default '0',
|
||||||
|
|
|
@ -4,14 +4,14 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-beta4-35637';
|
$wp_version = '4.4-beta4-35638';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
*
|
*
|
||||||
* @global int $wp_db_version
|
* @global int $wp_db_version
|
||||||
*/
|
*/
|
||||||
$wp_db_version = 35465;
|
$wp_db_version = 35638;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the TinyMCE version
|
* Holds the TinyMCE version
|
||||||
|
|
Loading…
Reference in New Issue