@@ -17,6 +17,9 @@ class WPDesk_Basic_Requirement_Checker implements WPDesk_Translable {
...
@@ -17,6 +17,9 @@ class WPDesk_Basic_Requirement_Checker implements WPDesk_Translable {
/** @var string */
/** @var string */
private$min_wp_version;
private$min_wp_version;
/** @var string */
private$min_wc_version;
/** @var array */
/** @var array */
private$plugin_require;
private$plugin_require;
...
@@ -156,6 +159,9 @@ class WPDesk_Basic_Requirement_Checker implements WPDesk_Translable {
...
@@ -156,6 +159,9 @@ class WPDesk_Basic_Requirement_Checker implements WPDesk_Translable {
$notices[]=$this->prepare_notice_message(sprintf(__('The “%s” plugin cannot run on WordPress versions older than %s. Please update WordPress.',
$notices[]=$this->prepare_notice_message(sprintf(__('The “%s” plugin cannot run on WordPress versions older than %s. Please update WordPress.',
$notices[]=$this->prepare_notice_message(sprintf(__('The “%s” plugin cannot run on WooCommerce versions older than %s. Please update WooCommerce.',$this->get_text_domain()),esc_html($this->plugin_name),$this->min_wc_version));