%s

', esc_html( sprintf( /* translators: 1: required PHP version, 2: current PHP version. */ __( 'Verifycate requires PHP %1$s or higher. This site is running PHP %2$s.', 'verifycate' ), self::MIN_PHP, PHP_VERSION ) ) ); } /** * Render the WordPress version admin notice. * * @return void */ public static function wp_notice(): void { if ( ! current_user_can( 'activate_plugins' ) ) { return; } global $wp_version; printf( '

%s

', esc_html( sprintf( /* translators: 1: required WordPress version, 2: current WordPress version. */ __( 'Verifycate requires WordPress %1$s or higher. This site is running WordPress %2$s.', 'verifycate' ), self::MIN_WP, (string) $wp_version ) ) ); } /** * Render the missing-SDK admin notice. * * @return void */ public static function sdk_notice(): void { if ( ! current_user_can( 'activate_plugins' ) ) { return; } printf( '

%s

', esc_html__( 'Verifycate is missing its API client. Reinstall the plugin from a release build, or run composer install when working from a checkout.', 'verifycate' ) ); } }