| @@ -2,9 +2,11 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Plugin Name: Getwid |
| 4 | 4 | * Plugin URI: https://motopress.com/products/getwid/ |
| 5 | 5 | * Description: Extra Gutenberg blocks for building seamless and aesthetic websites in the WordPress block editor. |
| 6 | - * Version: 2.1.1 | |
| 6 | + * Version: 3.0.2 | |
| 7 | + * Requires at least: 7.0 | |
| 8 | + * Requires PHP: 7.4 | |
| 7 | 9 | * Author: MotoPress |
| 8 | 10 | * Author URI: https://motopress.com/ |
| 9 | 11 | * License: GPLv2 or later |
| 10 | 12 | * License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| @@ -16,9 +18,9 @@ | ||
| 16 | 18 | if ( ! defined( 'ABSPATH' ) ) { |
| 17 | 19 | exit; |
| 18 | 20 | } |
| 19 | 21 | |
| 20 | -if ( !class_exists( 'Getwid\Getwid' ) ) { | |
| 22 | +if ( ! class_exists( 'Getwid\Getwid' ) ) { | |
| 21 | 23 | |
| 22 | 24 | if ( ! defined( 'GETWID_PLUGIN_FILE' ) ) { |
| 23 | 25 | define( 'GETWID_PLUGIN_FILE', __FILE__ ); |
| 24 | 26 | } |
| @@ -33,12 +35,12 @@ | ||
| 33 | 35 | } |
| 34 | 36 | |
| 35 | 37 | include_once GETWID_PLUGIN_DIR . 'includes/getwid.php'; |
| 36 | 38 | |
| 37 | - function getwid() { | |
| 38 | - return \Getwid\Getwid::getInstance(); | |
| 39 | - } | |
| 39 | + function getwid() { | |
| 40 | + return \Getwid\Getwid::getInstance(); | |
| 41 | + } | |
| 40 | 42 | |
| 41 | 43 | // Init Getwid |
| 42 | - getwid(); | |
| 44 | + getwid(); | |
| 43 | 45 | |
| 44 | 46 | } |