=' );
}
/**
* @return void
*/
public static function php_version_nope() {
printf(
'
',
wp_kses(
sprintf(
/* translators: 1: Required PHP version number, 2: Current PHP version number, 3: URL of PHP update help page */
__( 'The Query Monitor plugin requires PHP version %1$s or higher. This site is running PHP version %2$s. Learn about updating PHP.', 'query-monitor' ),
self::$minimum_version,
PHP_VERSION,
'https://wordpress.org/support/update-php/'
),
array(
'a' => array(
'href' => array(),
),
)
)
);
}
/**
* @return void
*/
public static function vendor_nope() {
printf(
'',
sprintf(
/* translators: 1: CLI command to run, 2: plugin directory name */
esc_html__( 'Dependencies for Query Monitor need to be installed. Run %1$s from the %2$s directory.', 'query-monitor' ),
'composer install --no-dev
',
sprintf(
'%s
',
esc_html( dirname( dirname( __FILE__ ) ) )
)
)
);
}
}
}