view( 'media-lib-empty', array(), 'views/bulk' ); return; } $this->view( 'auto-bulk-smush-notification', array( 'background_processing_enabled' => $background_processing_enabled, ), 'views/bulk' ); if ( ! $can_use_background ) { $this->view( 'limit-reached-notice', array(), 'views/bulk' ); } // Progress bar. $this->view( 'progress-bar', array( 'count' => $remaining_count, 'background_in_processing_notice' => $background_in_processing_notice, 'background_processing_enabled' => $background_processing_enabled, 'in_processing_notice' => $in_processing_notice, ), 'common' ); // All images are smushed. $this->view( 'all-images-smushed-notice', array( 'all_done' => empty( $remaining_count ) ), 'common' ); // List errors. $this->view( 'list-errors', array(), 'views/bulk' ); ?>
admin()->print_pending_bulk_smush_content( $remaining_count, $resmush_count, $unsmushed_count ); ?>
is_outdated() && ! $background_in_processing ) { $bulk_smush_class .= ' wp-smush-scan-and-bulk-smush'; } ?>
view( 'global-upsell', array( 'bulk_upgrade_url' => $bulk_upgrade_url, 'global_upsell_desc' => $global_upsell_desc, ), 'views/bulk' ); } elseif ( ! WP_Smush::is_pro() ) { $this->view( 'cdn-upsell', array( 'background_in_processing' => $background_in_processing, 'bulk_upgrade_url' => $upsell_cdn_url, ), 'views/bulk' ); }