$setting ) { if ( isset( $current_options[ $index ] ) ) { $settings[ $index ] = $current_options[ $index ]; } } ITSEC_Modules::set_settings( 'global', $settings ); } } if ( $itsec_old_version < 4059 ) { $message_queue = get_site_option( 'itsec_message_queue' ); if ( false !== $message_queue ) { if ( isset( $message_queue['last_sent'] ) ) { ITSEC_Modules::set_setting( 'global', 'digest_last_sent', $message_queue['last_sent'] ); } if ( isset( $message_queue['messages'] ) ) { ITSEC_Modules::set_setting( 'global', 'digest_messages', $message_queue['messages'] ); } delete_site_option( 'itsec_message_queue' ); } } if ( $itsec_old_version < 4064 ) { delete_site_option( 'itsec_global' ); } if ( $itsec_old_version < 4108 ) { if ( ITSEC_Modules::get_setting( 'global', 'proxy_override' ) ) { ITSEC_Modules::set_setting( 'global', 'proxy', 'disabled' ); } } } } } new ITSEC_Global_Setup();