HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.30
System: Linux iZj6c1151k3ad370bosnmsZ 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User: root (0)
PHP: 7.4.30
Disabled: NONE
Upload Files
File: /var/www/html/breadsecret.com/wp-content/plugins/wordpress-popup/views/admin/image-markup.php
<?php
/**
 * Common image markup.
 *
 * @package Hustle
 */

// If image is not set return empty string.
if ( empty( $path ) ) {
	return '';
}
?>
<img src="<?php echo esc_url( $path ); ?>"
title="<?php /* translators: Plugin name */ echo esc_attr( sprintf( __( '%s image', 'hustle' ), Opt_In_Utils::get_plugin_name() ) ); ?>"
alt="<?php /* translators: Plugin name */ echo esc_attr( sprintf( __( '%1$s image commonly %1$s-Man doing something fun', 'hustle' ), Opt_In_Utils::get_plugin_name() ) ); ?>"

<?php if ( ! empty( $retina_path ) ) { ?>
	srcset="<?php echo esc_url( $path ) . ' 1x, ' . esc_url( $retina_path ) . ' 2x'; ?>"
<?php } ?>

<?php if ( ! empty( $class ) ) { ?>
	class="<?php echo esc_attr( $class ); ?>"
<?php } ?>

<?php
// Add styles to image.
if ( ! empty( $width ) || ! empty( $height ) ) {
	echo ' style="';

	if ( ! empty( $width ) ) {
		echo 'max-width: ' . esc_attr( 'auto' === $width ? 'auto' : intval( $width ) ) . 'px;';
	}

	if ( ! empty( $height ) ) {
		echo 'max-height: ' . intval( $height ) . 'px;';
	}

	echo '"';
}
?>

aria-hidden="true" />