23 lines
1.1 KiB
PHP
23 lines
1.1 KiB
PHP
|
<?php
|
|||
|
/**
|
|||
|
* We also show up it via js after clicking on Bulk Smush Now.
|
|||
|
*
|
|||
|
* @see bulk-smush.js - background-process.js
|
|||
|
*
|
|||
|
* @var bool $background_in_processing Whether background is in processing or not.
|
|||
|
* @var string $bulk_upgrade_url CDN upgrade url.
|
|||
|
*/
|
|||
|
?>
|
|||
|
<div class="sui-box-body sui-margin-top wp-smush-upsell-cdn <?php echo ! $background_in_processing ? ' sui-hidden' : ''; ?>">
|
|||
|
<div class="smush-box-image">
|
|||
|
<img class="sui-image-icon" src="<?php echo esc_url( WP_SMUSH_URL . 'app/assets/images/bulk-smush/cdn-upsell-icon.png' ); ?>"
|
|||
|
srcset="<?php echo esc_url( WP_SMUSH_URL . 'app/assets/images/bulk-smush/cdn-upsell-icon@2x.png' ); ?> 2x"
|
|||
|
alt="<?php esc_html_e( 'Smush CDN Icon', 'wp-smushit' ); ?>">
|
|||
|
</div>
|
|||
|
<div class="sui-box-content">
|
|||
|
<p>
|
|||
|
<?php esc_html_e( 'Want to serve images even faster? Get up to 2x more speed with Smush Pro’s CDN, which spans 45 servers worldwide.', 'wp-smushit' ); ?>
|
|||
|
</p>
|
|||
|
<a href="<?php echo esc_url( $bulk_upgrade_url ); ?>" class="smush-upsell-link" target="_blank"><?php esc_html_e( 'Unlock now with Pro.', 'wp-smushit' ); ?></a>
|
|||
|
</div>
|
|||
|
</div>
|