| @@ -1,9 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * Plugin Name: Sharing Image |
| 4 | 4 | * Description: Create sharing image for Facebook, VK.com, Telegram and other social networks |
| 5 | - * Version: 3.1 | |
| 5 | + * Version: 3.7 | |
| 6 | 6 | * Requires at least: 5.3 |
| 7 | 7 | * Requires PHP: 5.6 |
| 8 | 8 | * Plugin URI: https://wpset.org/sharing-image/ |
| 9 | 9 | * Author: Anton Lukin |
| @@ -23,9 +23,9 @@ | ||
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | 25 | * Plugin version. |
| 26 | 26 | */ |
| 27 | -define( 'SHARING_IMAGE_VERSION', '3.1' ); | |
| 27 | +define( 'SHARING_IMAGE_VERSION', '3.7' ); | |
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * Main plugin file. |
| 31 | 31 | */ |
| @@ -72,8 +72,12 @@ | ||
| 72 | 72 | $class::init(); |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | include SHARING_IMAGE_DIR . 'functions.php'; |
| 76 | + | |
| 77 | + if ( file_exists( SHARING_IMAGE_DIR . 'premium.php' ) ) { | |
| 78 | + include SHARING_IMAGE_DIR . 'premium.php'; | |
| 79 | + } | |
| 76 | 80 | } |
| 77 | 81 | } |
| 78 | 82 | |
| 79 | 83 | add_action( 'plugins_loaded', 'sharing_image_plugin' ); |