HEX
Server: Apache
System: Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User: u90323915 (5560665)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /homepages/31/d696029188/htdocs/tiny-compress-images/src/views/bulk-optimization-upgrade-notice.php
<div class="upgrade-account-notice">
	<div class="introduction">
		<p>
			<?php
			$strong = array(
				'strong' => array(),
			);
			/* translators: %s: number of remaining credits */
			printf( wp_kses( __(
				'You are on a <strong>free plan</strong> with <strong>%s compressions left</strong> this month.', // WPCS: Needed for proper translation.
				'tiny-compress-images'
			), $strong ), $remaining_credits );
			?>
		</p>
		<p>
			<?php
			esc_html_e(
				'Upgrade your account now to compress your entire media library.',
				'tiny-compress-images'
			);
			?>
		</p>
	</div>
	<?php $encoded_email = str_replace( '%20', '%2B', rawurlencode( $email_address ) ); ?>
	<a href="https://tinypng.com/dashboard/api?type=upgrade&mail=<?php echo $encoded_email; ?>" target="_blank" class="button button-primary button-hero upgrade-account">
		<?php esc_html_e( 'Upgrade account', 'tiny-compress-images' ); ?>
	</a>
	<?php if ( $remaining_credits > 0 ) { ?>
		<p>
			<a id="hide-warning" href="#">
				<?php esc_html_e( 'No thanks, continue anyway', 'tiny-compress-images' ); ?>
			</a>
		</p>
	<?php } ?>
</div>