| @@ -4,12 +4,12 @@ | ||
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * Plugin Name: Snippet Shortcodes |
| 7 | 7 | * Description: Create a library of custom shortcodes and reusable content, and seamlessly insert them into your posts and pages. |
| 8 | - * Version: 5.1.6 | |
| 8 | + * Version: 5.0 | |
| 9 | 9 | * Requires at least: 6.0 |
| 10 | - * Tested up to: 7.0.1 | |
| 11 | - * Requires PHP: 8.1 | |
| 10 | + * Tested up to: 6.8 | |
| 11 | + * Requires PHP: 7.4 | |
| 12 | 12 | * Author: Ali Colville |
| 13 | 13 | * Author URI: https://www.YeKen.uk |
| 14 | 14 | * License: GPL v2 or later |
| 15 | 15 | * License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| @@ -32,13 +32,13 @@ | ||
| 32 | 32 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 33 | 33 | */ |
| 34 | 34 | |
| 35 | 35 | define( 'SH_CD_ABSPATH', plugin_dir_path( __FILE__ ) ); |
| 36 | -define( 'SH_CD_PLUGIN_VERSION', '5.1.6' ); | |
| 36 | +define( 'SH_CD_PLUGIN_VERSION', '5.0' ); | |
| 37 | +define( 'SH_CD_PREMIUM_PLUGIN_LATEST_VERSION', '1.0.4' ); // Used to trigger "there is a newer version" message | |
| 37 | 38 | define( 'SH_CD_PLUGIN_NAME', 'Snippet Shortcodes' ); |
| 38 | 39 | define( 'SH_CD_TABLE', 'SH_CD_SHORTCODES' ); |
| 39 | 40 | define( 'SH_CD_TABLE_MULTISITE', 'SH_CD_SHORTCODES_MULTISITE' ); |
| 40 | -define( 'SH_CD_TABLE_REVISIONS', 'SH_CD_SHORTCODES_REVISIONS' ); | |
| 41 | 41 | define( 'SH_CD_SLUG', 'sh-cd-shortcode-variables' ); |
| 42 | 42 | define( 'SH_CD_PREFIX', 'sh-cd-' ); |
| 43 | 43 | define( 'SH_CD_SHORTCODE', 'sv' ); |
| 44 | 44 | define( 'SH_CD_UPGRADE_LINK', 'https://shop.yeken.uk/product/shortcode-variables/' ); |
| @@ -45,9 +45,8 @@ | ||
| 45 | 45 | // Note: SH_CD_GET_PREMIUM_LINK is detected by the Premium plugin to determine if the main plugin is enabled. |
| 46 | 46 | // Do not remove or rename the constant. |
| 47 | 47 | define( 'SH_CD_GET_PREMIUM_LINK', 'https://snippetshortcodes.yeken.uk/download/' ); |
| 48 | 48 | define( 'SH_CD_YEKEN_UPDATES_URL', 'https://yeken.uk/downloads/_updates/shortcode-variables.json' ); |
| 49 | -define( 'SH_CD_YEKEN_PREMIUM_RELEASE_MANIFEST', 'https://snippetshortcodes.yeken.uk/wp-content/plugins/snippet-shortcodes-premium/release.json' ); | |
| 50 | 49 | |
| 51 | 50 | add_action( 'plugins_loaded', function() { |
| 52 | 51 | |
| 53 | 52 | include_once SH_CD_ABSPATH . 'includes/functions.php'; |
| @@ -66,5 +65,6 @@ | ||
| 66 | 65 | include_once SH_CD_ABSPATH . 'includes/pages/page.settings.php'; |
| 67 | 66 | include_once SH_CD_ABSPATH . 'includes/pages/page.help.php'; |
| 68 | 67 | include_once SH_CD_ABSPATH . 'includes/pages/page.import.php'; |
| 69 | 68 | include_once SH_CD_ABSPATH . 'includes/tinymce.php'; |
| 69 | + | |
| 70 | 70 | }); |