'; printf( /* translators: %s: WordPress Version. */ esc_html__('This theme requires WordPress 5.3 or newer. You are running version %s. Please upgrade.','uikit-starter'), esc_html($GLOBALS['wp_version']) ); echo '

'; }// Method endif; add_action('load-customize.php','__hook_load_customize'); /** @since 1.0.1 Prevents the Customizer from being loaded on WordPress versions prior to 5.3. @global (string) $wp_version WordPress version. @return (void) */ if(function_exists('__hook_load_customize') === FALSE) : function __hook_load_customize() { wp_die(sprintf( /* translators: %s: WordPress Version. */ esc_html__('This theme requires WordPress 5.3 or newer. You are running version %s. Please upgrade.','uikit-starter'), esc_html($GLOBALS['wp_version']) ),'',array( 'back_link' => TRUE, )); }// Method endif; add_action('template_redirect','__hook_template_redirect'); /** @since 1.0.1 Prevents the Theme Preview from being loaded on WordPress versions prior to 5.3. @global (string) $wp_version WordPress version. @return (void) */ if(function_exists('__hook_template_redirect') === FALSE) : function __hook_template_redirect() { if(isset($_GET['preview'])){ // phpcs:ignore WordPress.Security.NonceVerification wp_die(sprintf( /* translators: %s: WordPress Version. */ esc_html__('This theme requires WordPress 5.3 or newer. You are running version %s. Please upgrade.','uikit-starter'), esc_html($GLOBALS['wp_version']) )); }// endif }// Method endif;