| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Plugin Name: Depicter |
| 4 | 4 | * Plugin URI: https://depicter.com |
| 5 | 5 | * Description: Make animated and interactive image slider, video slider, post slider and carousel which work smoothly across devices. |
| 6 | - * Version: 1.2.0 | |
| 6 | + * Version: 1.9.2 | |
| 7 | 7 | * Requires at least: 4.9 |
| 8 | 8 | * Requires PHP: 7.2.5 |
| 9 | 9 | * Author: Averta |
| 10 | 10 | * Author URI: http://averta.net |
| @@ -16,19 +16,14 @@ | ||
| 16 | 16 | * |
| 17 | 17 | * @package Depicter |
| 18 | 18 | */ |
| 19 | 19 | |
| 20 | +const DEPICTER_VERSION = '1.9.2'; | |
| 21 | + | |
| 20 | 22 | if ( ! defined( 'ABSPATH' ) ) { |
| 21 | 23 | exit; |
| 22 | 24 | } |
| 23 | 25 | |
| 24 | -define( 'DEPICTER_VERSION', '1.2.0' ); | |
| 25 | -define( 'DEPICTER_PLUGIN_ID', 'depicter' ); | |
| 26 | -define( 'DEPICTER_PLUGIN_FILE', __FILE__ ); | |
| 27 | -define( 'DEPICTER_PLUGIN_PATH', __DIR__ ); | |
| 28 | -define( 'DEPICTER_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); | |
| 29 | -define( 'DEPICTER_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); | |
| 30 | - | |
| 31 | 26 | $name = trim( get_file_data( __FILE__, [ 'Plugin Name' ] )[0] ); |
| 32 | 27 | |
| 33 | 28 | |
| 34 | 29 | // Make sure requirements are met |
| @@ -48,8 +43,16 @@ | ||
| 48 | 43 | // An incompatible WP Emerge version is already loaded - stop further execution. |
| 49 | 44 | // depicter_should_load_framework() will automatically add an admin notice. |
| 50 | 45 | return; |
| 51 | 46 | } |
| 47 | + | |
| 48 | +// CONSTANTS ------- | |
| 49 | + | |
| 50 | +const DEPICTER_PLUGIN_ID = 'depicter'; | |
| 51 | +const DEPICTER_PLUGIN_FILE = __FILE__; | |
| 52 | +const DEPICTER_PLUGIN_PATH = __DIR__; | |
| 53 | +define( 'DEPICTER_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); | |
| 54 | +define( 'DEPICTER_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); | |
| 52 | 55 | |
| 53 | 56 | // ----------------- |
| 54 | 57 | |
| 55 | 58 | // Load composer dependencies. |