File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3741,7 +3741,7 @@ function pre_schema_upgrade() {
37413741 }
37423742
37433743 // Multisite schema upgrades.
3744- if ( $ wp_current_db_version < 60497 && is_multisite () && wp_should_upgrade_global_tables () ) {
3744+ if ( $ wp_current_db_version < 60498 && is_multisite () && wp_should_upgrade_global_tables () ) { // TODO: Update with commit.
37453745
37463746 // Upgrade versions prior to 3.7.
37473747 if ( $ wp_current_db_version < 25179 ) {
@@ -3769,6 +3769,9 @@ function pre_schema_upgrade() {
37693769 $ wpdb ->query ( "ALTER TABLE $ wpdb ->sitemeta MODIFY site_id bigint(20) unsigned NOT NULL default 0 " );
37703770 $ wpdb ->query ( "ALTER TABLE $ wpdb ->signups MODIFY signup_id bigint(20) unsigned NOT NULL auto_increment " );
37713771 }
3772+ if ( $ wp_current_db_version < 60498 ) { // TODO: Update with commit.
3773+ $ wpdb ->query ( "ALTER TABLE $ wpdb ->registration_log MODIFY IP varchar(39) NOT NULL default '' " );
3774+ }
37723775 }
37733776
37743777 // Upgrade versions prior to 4.2.
You can’t perform that action at this time.
0 commit comments