Ticket #49236: 49236-db-version-update.diff
File 49236-db-version-update.diff, 1.3 KB (added by , 4 years ago) |
---|
-
src/wp-admin/includes/upgrade.php
2174 2174 global $wp_current_db_version; 2175 2175 2176 2176 if ( $wp_current_db_version < 48121 ) { 2177 update_option( 'finished_updating_comment_type', 0 );2178 wp_schedule_single_event( time() + ( 1 * MINUTE_IN_SECONDS ), 'wp_update_comment_type_batch' );2179 2180 2177 $comment_previously_approved = get_option( 'comment_whitelist', '' ); 2181 2178 update_option( 'comment_previously_approved', $comment_previously_approved ); 2182 2179 delete_option( 'comment_whitelist' ); … … 2198 2195 delete_option( 'blacklist_keys' ); 2199 2196 delete_option( 'blocklist_keys' ); 2200 2197 } 2198 2199 if ( $wp_current_db_version < 48748 ) { 2200 update_option( 'finished_updating_comment_type', 0 ); 2201 wp_schedule_single_event( time() + ( 1 * MINUTE_IN_SECONDS ), 'wp_update_comment_type_batch' ); 2202 } 2201 2203 } 2202 2204 2203 2205 /** -
src/wp-includes/version.php
20 20 * 21 21 * @global int $wp_db_version 22 22 */ 23 $wp_db_version = 48 575;23 $wp_db_version = 48748; 24 24 25 25 /** 26 26 * Holds the TinyMCE version.