Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
slight tweak to env test
Browse files Browse the repository at this point in the history
  • Loading branch information
helgatheviking committed Apr 28, 2022
1 parent f1a768a commit 2dbf63c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wc-mnm-satt-bridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public static function environment_check() {
$notices[] = sprintf( __( '<strong>WooCommerce Mix and Match: All Products for Subscriptions Compatibility</strong> mini-extension is inactive. The <strong>WooCommerce All Products for Subscriptions</strong> plugin must be active and atleast version %s for Mix and Match: All Products for Subscriptions Compatibility to function</strong>. Please update or activate WooCommerce All Products for Subscriptions.', 'wc-mnm-satt-bridge' ), self::$required[ 'apfs' ] );
}

if ( ! did_action( 'woocommerce_mnm_loaded' ) || version_compare( WC_Mix_and_Match()->version, self::$required[ 'mnm' ], '<' ) ) {
if ( ! function_exists( 'WC_Mix_and_Match' ) || version_compare( WC_Mix_and_Match()->version, self::$required[ 'mnm' ], '<' ) ) {
$notices[] = sprintf( __( '<strong>WooCommerce Mix and Match: All Products for Subscriptions Compatibility</strong> mini-extension is inactive. The <strong>WooCommerce Mix and Match Products</strong> plugin must be active and atleast version %s for Mix and Match: All Products for Subscriptions Compatibility to function</strong>. Please update or activate WooCommerce Mix and Match Products.', 'wc-mnm-satt-bridge' ), self::$required[ 'mnm' ] );
}

Expand Down

0 comments on commit 2dbf63c

Please sign in to comment.