@@ 800-805 (lines=6) @@ | ||
797 | */ |
|
798 | protected function get_wcs_requisite_plugins() { |
|
799 | $plugins = array(); |
|
800 | if ( ! is_plugin_active( 'woocommerce-services/woocommerce-services.php' ) && ! get_option( 'woocommerce_setup_background_installing_woocommerce-services' ) ) { |
|
801 | $plugins[] = array( |
|
802 | 'name' => __( 'WooCommerce Services', 'woocommerce' ), |
|
803 | 'slug' => 'woocommerce-services', |
|
804 | ); |
|
805 | } |
|
806 | if ( ! is_plugin_active( 'jetpack/jetpack.php' ) && ! get_option( 'woocommerce_setup_background_installing_jetpack' ) ) { |
|
807 | $plugins[] = array( |
|
808 | 'name' => __( 'Jetpack', 'woocommerce' ), |
|
@@ 806-811 (lines=6) @@ | ||
803 | 'slug' => 'woocommerce-services', |
|
804 | ); |
|
805 | } |
|
806 | if ( ! is_plugin_active( 'jetpack/jetpack.php' ) && ! get_option( 'woocommerce_setup_background_installing_jetpack' ) ) { |
|
807 | $plugins[] = array( |
|
808 | 'name' => __( 'Jetpack', 'woocommerce' ), |
|
809 | 'slug' => 'jetpack', |
|
810 | ); |
|
811 | } |
|
812 | return $plugins; |
|
813 | } |
|
814 |