Changeset 48405
- Timestamp:
- 07/08/2020 10:56:22 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/upgrade.php
r48400 r48405 701 701 function upgrade_all() { 702 702 global $wp_current_db_version, $wp_db_version; 703 703 704 $wp_current_db_version = __get_option( 'db_version' ); 704 705 … … 1871 1872 function upgrade_370() { 1872 1873 global $wp_current_db_version; 1874 1873 1875 if ( $wp_current_db_version < 25824 ) { 1874 1876 wp_clear_scheduled_hook( 'wp_auto_updates_maybe_update' ); … … 1887 1889 function upgrade_372() { 1888 1890 global $wp_current_db_version; 1891 1889 1892 if ( $wp_current_db_version < 26148 ) { 1890 1893 wp_clear_scheduled_hook( 'wp_maybe_auto_update' ); … … 1902 1905 function upgrade_380() { 1903 1906 global $wp_current_db_version; 1907 1904 1908 if ( $wp_current_db_version < 26691 ) { 1905 1909 deactivate_plugins( array( 'mp6/mp6.php' ), true ); … … 1917 1921 function upgrade_400() { 1918 1922 global $wp_current_db_version; 1923 1919 1924 if ( $wp_current_db_version < 29630 ) { 1920 1925 if ( ! is_multisite() && false === get_option( 'WPLANG' ) ) { … … 2169 2174 global $wp_current_db_version; 2170 2175 2171 update_option( 'finished_updating_comment_type', 0 );2172 wp_schedule_single_event( time() + ( 1 * MINUTE_IN_SECONDS ), 'wp_update_comment_type_batch' );2173 2174 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 2175 2180 // Use more clear and inclusive language. 2176 2181 $blocklist = get_option( 'blacklist_keys', '' );
Note: See TracChangeset
for help on using the changeset viewer.