| @@ -4,18 +4,18 @@ | ||
| 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: 1.2 | |
| 8 | + * Version: 1.7 | |
| 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 2014 YeKen.uk | |
| 14 | +/* Copyright 2016 YeKen.uk | |
| 15 | 15 | |
| 16 | 16 | This program is free software; you can redistribute it and/or modify |
| 17 | - it under the terms of the GNU General Public License, version 2, as | |
| 17 | + it under the terms of the GNU General Public License, version 2, as | |
| 18 | 18 | published by the Free Software Foundation. |
| 19 | 19 | |
| 20 | 20 | This program is distributed in the hope that it will be useful, |
| 21 | 21 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| @@ -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', '1.7'); | |
| 33 | + | |
| 32 | 34 | // ----------------------------------------------------------------------------------------- |
| 33 | -// Activation - create table | |
| 35 | +// Activation - create table | |
| 34 | 36 | // ----------------------------------------------------------------------------------------- |
| 37 | + | |
| 35 | 38 | register_activation_hook( __FILE__, 'sh_cd_create_database_table'); |
| 36 | 39 | |
| 37 | - | |
| 38 | 40 | // ----------------------------------------------------------------------------------------- |
| 39 | 41 | // AC: Include all relevant PHP files |
| 40 | 42 | // ----------------------------------------------------------------------------------------- |
| 41 | 43 | |
| @@ -48,8 +50,8 @@ | ||
| 48 | 50 | // ----------------------------------------------------------------------------------------- |
| 49 | 51 | // AC: Load relevant language files |
| 50 | 52 | // ----------------------------------------------------------------------------------------- |
| 51 | 53 | load_plugin_textdomain( SH_CD_SLUG, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); |
| 52 | - | |
| 54 | + | |
| 53 | 55 | // ----------------------------------------------------------------------------------------- |
| 54 | 56 | // AC: DEV Stuff here (!!!! REMOVE !!!!) |
| 55 | 57 | // ----------------------------------------------------------------------------------------- |