Skip to content

Commit a18d677

Browse files
committed
add WC compatibility to plugin header
1 parent 0aa2681 commit a18d677

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

wc-smooth-generator.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,22 @@
33
* Plugin Name: WooCommerce Smooth Generator
44
* Plugin URI: https://woocommerce.com/
55
* Description: A smooth customer, order and product generator for WooCommerce.
6-
* Version: 1.0.0
6+
* Version: 1.0.2
77
* Author: Automattic
88
* Author URI: https://woocommerce.com
99
*
10+
* Tested up to: 5.7
11+
* WC requires at least: 5.0.0
12+
* WC tested up to: 5.7.0
13+
* Woo: 000000:0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0
14+
*
1015
* @package WooCommerce
1116
*/
1217

1318
defined( 'ABSPATH' ) || exit;
1419

1520
// autoloader.
16-
if( ! class_exists( \WC\SmoothGenerator\Plugin::class ) ){
21+
if ( ! class_exists( \WC\SmoothGenerator\Plugin::class ) ) {
1722
require __DIR__ . '/vendor/autoload.php';
1823
}
1924

0 commit comments

Comments
 (0)