Changeset 22911
- Timestamp:
- 11/29/2012 12:37:30 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/upgrade.php
r22422 r22911 1190 1190 global $wp_current_db_version, $wpdb; 1191 1191 1192 if ( $wp_current_db_version < 2 1501&& $wpdb->get_var( "SELECT link_id FROM $wpdb->links LIMIT 1" ) )1192 if ( $wp_current_db_version < 22006 && $wpdb->get_var( "SELECT link_id FROM $wpdb->links LIMIT 1" ) ) 1193 1193 update_option( 'link_manager_enabled', 1 ); // Previously set to 0 by populate_options() 1194 1194 … … 1949 1949 global $wp_current_db_version, $wpdb; 1950 1950 1951 if ( $wp_current_db_version >= 2 1501&& get_option( 'link_manager_enabled' ) && ! $wpdb->get_var( "SELECT link_id FROM $wpdb->links LIMIT 1" ) )1951 if ( $wp_current_db_version >= 22006 && get_option( 'link_manager_enabled' ) && ! $wpdb->get_var( "SELECT link_id FROM $wpdb->links LIMIT 1" ) ) 1952 1952 update_option( 'link_manager_enabled', 0 ); 1953 1953 }
Note: See TracChangeset
for help on using the changeset viewer.