Inventory_Presser_Settings_Suggester::output_thumbnail_size_error_html()

output_thumbnail_size_error_html


Description Description

Outputs an admin notice to warn a user that they have attachment multiple aspect ratios of vehicle photos to a single vehicle.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class-settings-suggester.php

	function output_thumbnail_size_error_html()
	{
		echo $this->get_admin_notice_html(
			sprintf( 
				'%s <a href="options-media.php">%s</a>.',
				__( 'At least one of your thumbnail sizes does not have an aspect ratio of 4:3, which is the most common smartphone and digital camera aspect ratio. You can change thumbnail sizes ', 'inventory-presser' ),
				__( 'here', 'inventory-presser' )
			),
			'yellow'
		);
	}