| @@ -4,15 +4,15 @@ | ||
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * Plugin Name: Shortcode Variables |
| 7 | 7 | * Description: Create your own shortcodes and assign text / variables to it or use our premade ones. You can then embed these shortcodes throughout your entire site and only have to change the value in one place. |
| 8 | - * Version: 2.0 | |
| 8 | + * Version: 3.2 | |
| 9 | 9 | * Author: YeKen |
| 10 | 10 | * Author URI: http://www.YeKen.uk |
| 11 | 11 | * License: GPL2 |
| 12 | 12 | * Text Domain: shortcode-variables |
| 13 | 13 | */ |
| 14 | -/* Copyright 2019 YeKen.uk | |
| 14 | +/* Copyright 2020 YeKen.uk | |
| 15 | 15 | |
| 16 | 16 | This program is free software; you can redistribute it and/or modify |
| 17 | 17 | it under the terms of the GNU General Public License, version 2, as |
| 18 | 18 | published by the Free Software Foundation. |
| @@ -28,14 +28,16 @@ | ||
| 28 | 28 | */ |
| 29 | 29 | |
| 30 | 30 | define( 'SH_CD_ABSPATH', plugin_dir_path( __FILE__ ) ); |
| 31 | 31 | |
| 32 | -define( 'SH_CD_PLUGIN_VERSION', '2.0' ); | |
| 32 | +define( 'SH_CD_PLUGIN_VERSION', '3.2' ); | |
| 33 | 33 | define( 'SH_CD_PLUGIN_NAME', 'Shortcode Variables' ); |
| 34 | 34 | define( 'SH_CD_TABLE', 'SH_CD_SHORTCODES' ); |
| 35 | +define( 'SH_CD_TABLE_MULTISITE', 'SH_CD_SHORTCODES_MULTISITE' ); | |
| 35 | 36 | define( 'SH_CD_SLUG', 'sh-cd-shortcode-variables' ); |
| 37 | +define( 'SH_CD_PREFIX', 'sh-cd-' ); | |
| 36 | 38 | define( 'SH_CD_SHORTCODE', 'sv' ); |
| 37 | -define( 'SH_CD_PREMIUM_PRICE', 5.00 ); | |
| 39 | +define( 'SH_CD_PREMIUM_PRICE', 10.00 ); | |
| 38 | 40 | define( 'SH_CD_UPGRADE_LINK', 'https://sv.yeken.uk/upgrade' ); |
| 39 | 41 | |
| 40 | 42 | // ----------------------------------------------------------------------------------------- |
| 41 | 43 | // AC: Include all relevant PHP files |
| @@ -44,8 +46,9 @@ | ||
| 44 | 46 | include_once SH_CD_ABSPATH . 'includes/class.presets.php'; |
| 45 | 47 | include_once SH_CD_ABSPATH . 'includes/hooks.php'; |
| 46 | 48 | include_once SH_CD_ABSPATH . 'includes/functions.php'; |
| 47 | 49 | include_once SH_CD_ABSPATH . 'includes/db.php'; |
| 50 | +include_once SH_CD_ABSPATH . 'includes/cron.php'; | |
| 48 | 51 | include_once SH_CD_ABSPATH . 'includes/license.php'; |
| 49 | 52 | include_once SH_CD_ABSPATH . 'includes/shortcode.user.php'; |
| 50 | 53 | include_once SH_CD_ABSPATH . 'includes/shortcode.presets.core.php'; |
| 51 | 54 | include_once SH_CD_ABSPATH . 'includes/shortcode.presets.free.php'; |
| @@ -53,10 +56,5 @@ | ||
| 53 | 56 | include_once SH_CD_ABSPATH . 'includes/pages/pages.list.php'; |
| 54 | 57 | include_once SH_CD_ABSPATH . 'includes/pages/pages.premade.php'; |
| 55 | 58 | include_once SH_CD_ABSPATH . 'includes/pages/pages.edit.php'; |
| 56 | 59 | include_once SH_CD_ABSPATH . 'includes/pages/pages.license.php'; |
| 57 | - | |
| 58 | -// ----------------------------------------------------------------------------------------- | |
| 59 | -// AC: Load relevant language files | |
| 60 | -// ----------------------------------------------------------------------------------------- | |
| 61 | - | |
| 62 | -load_plugin_textdomain( SH_CD_SLUG, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); | |
| 60 | +include_once SH_CD_ABSPATH . 'includes/tinymce.php'; | |