is_outdated() || Global_Stats::get()->get_remaining_count() > 0; $next_gen_manager = Next_Gen_Manager::get_instance(); $bg_optimization = Background_Bulk_Smush::get_instance(); $bulk_smush_in_progress = $bg_optimization->is_in_processing(); if ( is_multisite() ) { $notice_type = 'success'; $icon_name = 'check-tick'; $status_message = __( 'Next-Gen Formats is active.', 'wp-smushit' ); } elseif ( $required_bulk_smush ) { $notice_type = 'warning'; $icon_name = 'warning-alert'; $status_message = __( 'Next-Gen Formats is active.', 'wp-smushit' ); if ( $bulk_smush_in_progress ) { $notice_type = 'info'; $icon_name = 'info'; } } else { $notice_type = 'success'; $icon_name = 'check-tick'; $status_message = __( 'Next-Gen Formats is active and working well.', 'wp-smushit' ); } ?>