Skip to content

Commit d02ac35

Browse files
authored
Increase length of IP field to account for IPv6
1 parent da61a89 commit d02ac35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-admin/includes/schema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ function wp_get_db_schema( $scope = 'all', $blog_id = null ) {
274274
CREATE TABLE $wpdb->registration_log (
275275
ID bigint(20) unsigned NOT NULL auto_increment,
276276
email varchar(255) NOT NULL default '',
277-
IP varchar(30) NOT NULL default '',
277+
IP varchar(39) NOT NULL default '',
278278
blog_id bigint(20) unsigned NOT NULL default '0',
279279
date_registered datetime NOT NULL default '0000-00-00 00:00:00',
280280
PRIMARY KEY (ID),

0 commit comments

Comments
 (0)