Changeset 47787
- Timestamp:
- 05/12/2020 08:57:48 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/admin.php
r47785 r47787 37 37 38 38 if ( get_option( 'db_upgraded' ) ) { 39 39 40 flush_rewrite_rules(); 40 41 update_option( 'db_upgraded', false ); … … 46 47 */ 47 48 do_action( 'after_db_upgrade' ); 48 } elseif ( get_option( 'db_version' ) !== $wp_db_version && empty( $_POST ) ) { 49 50 } elseif ( (int) get_option( 'db_version' ) !== $wp_db_version && empty( $_POST ) ) { 51 49 52 if ( ! is_multisite() ) { 50 53 wp_redirect( admin_url( 'upgrade.php?_wp_http_referer=' . urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) );
Note: See TracChangeset
for help on using the changeset viewer.