WS_OK_7.4.33 HEX
HEX
Server: nginx/1.21.4
System: Linux v12674 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64
User: endtheignorance (1014)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /storage/v12674/lcalasvegas/public_html/wp-content/plugins/simple-history/inc/oldversions.php
<?php
/**
 * Show an admin message if old PHP version.
 */
function simple_history_old_version_admin_notice() {
	$ok_wp_version = version_compare( $GLOBALS['wp_version'], '5.4', '>=' );
	$ok_php_version = version_compare( phpversion(), '7.4', '>=' );
	?>
	<div class="updated error">
		<?php
		if ( ! $ok_php_version ) {
			echo '<p>';
			printf(
				esc_html(
					/* translators: 1: PHP version */
					__(
						'Simple History is a great plugin, but to use it your server must have at least PHP 7.4 installed (you have version %s).',
						'simple-history'
					)
				),
				esc_html( phpversion() ) // 1
			);
			echo '</p>';
		}

		if ( ! $ok_wp_version ) {
			echo '<p>';
			printf(
				esc_html(
					/* translators: 1: WordPress version */
					__(
						'Simple History requires WordPress version 6.1 or higher (you have version %s).',
						'simple-history'
					)
				),
				esc_html( $GLOBALS['wp_version'] ) // 1
			);
			echo '</p>';
		}
		?>
	</div>
	<?php
}