Changeset 47597 for trunk/src/wp-admin/includes/upgrade.php
- Timestamp:
- 04/17/2020 07:33:52 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/upgrade.php
r47550 r47597 284 284 'comment_date_gmt' => $now_gmt, 285 285 'comment_content' => $first_comment, 286 'comment_type' => 'comment', 286 287 ) 287 288 ); … … 835 836 } 836 837 838 if ( $wp_current_db_version < 47597 ) { 839 upgrade_550(); 840 } 841 837 842 maybe_disable_link_manager(); 838 843 … … 2156 2161 2157 2162 /** 2163 * Executes changes made in WordPress 5.5.0. 2164 * 2165 * @ignore 2166 * @since 5.5.0 2167 */ 2168 function upgrade_550() { 2169 update_option( 'finished_updating_comment_type', 0 ); 2170 wp_schedule_single_event( time() + ( 1 * MINUTE_IN_SECONDS ), 'wp_update_comment_type_batch' ); 2171 } 2172 2173 /** 2158 2174 * Executes network-level upgrade routines. 2159 2175 *
Note: See TracChangeset
for help on using the changeset viewer.