Changeset 1972020
- Timestamp:
- 11/10/2018 08:59:08 AM (7 years ago)
- Location:
- dadi-cookie-consent-lite/trunk
- Files:
-
- 2 edited
-
cookie-consent.php (modified) (4 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dadi-cookie-consent-lite/trunk/cookie-consent.php
r1962390 r1972020 4 4 Plugin URI: http://dcc.iljester.com/ 5 5 Description: Consent system, based on cookies. It blocks scripts and iframes that can potentially generate profiling cookies 6 Version: 1. 06 Version: 1.1 7 7 Author: Davide Mura 8 8 Author URI: http://www.iljester.com/davide/ … … 53 53 define( 'DADICC_PLUGIN_NAME', 'Dadi Cookie Consent Lite'); 54 54 define( 'DADICC_PLUGIN_NAME_ABB', 'DCC Lite' ); 55 define( 'DADICC_VERSION', '1.1'); 56 } else { 57 define( 'DADICC_PLUGIN_NAME', 'Dadi Cookie Consent'); 58 define( 'DADICC_PLUGIN_NAME_ABB', 'DCC' ); 55 59 define( 'DADICC_VERSION', '1.0'); 56 define( 'DADICC_ALLOW', TRUE ); 57 } 60 } 61 define( 'DADICC_ALLOW', TRUE ); 58 62 define( 'DADICC_DOMAIN', 'dadicc' ); 59 63 define( 'DADICC_PREFIX', 'dadicc_'); … … 75 79 define( 'DADICC_BLOCK_CLASS', 'dadicc-block'); 76 80 define( 'DADICC_BOXES', 8 ); 81 define( 'DADICC_PURCHASE_URL', "http://dcc.iljester.com/get-premium/?purchase=true&plugin=dadi-cookie-consent-ext"); 77 82 78 83 /** … … 145 150 146 151 /** 152 * Set Options 153 * @author: Davide Mura 154 */ 155 function dadicc_set_options() { 156 157 if ( ! current_user_can( 'activate_plugins' ) ) 158 return; 159 160 $plugin = isset( $_REQUEST['plugin'] ) ? $_REQUEST['plugin'] : ''; 161 check_admin_referer( "activate-plugin_{$plugin}" ); 162 163 $defaults = dadicc_default_options(); 164 $defaults_admin = dadicc_default_options_admin(); 165 166 add_option( DADICC_OPT, $defaults ); 167 add_option( DADICC_OPT_ADMIN, $defaults_admin ); 168 169 return true; 170 171 172 } 173 register_activation_hook( __FILE__, 'dadicc_set_options'); 174 175 /** 147 176 * Set globals 148 177 * @author: Davide Mura -
dadi-cookie-consent-lite/trunk/readme.txt
r1962390 r1972020 4 4 Requires at least: 4.8 5 5 Tested up to: 4.9.8 6 Stable tag: 1. 06 Stable tag: 1.1 7 7 Requires PHP: 5.3 8 8 Donate link: http://dadicc.iljester.it/donate/ … … 31 31 14. Banners text and labels customizable 32 32 33 Soon the premium version will be available, which will include all the features of the lite version and also: 33 = Premium Features = 34 34 1. Privacy Policy Link in banner 35 35 2. Policies displayed in an ajax popup … … 86 86 87 87 1. Page Settings 88 2. Extended Banner 88 2. Mini Banner 89 3. Extended Banner 89 90 90 91 == Changelog == 92 93 = 1.1 - 2018/11/10 = 94 * Fixed: some little bugs 95 * Added: box to get premium version 96 91 97 = 1.0 - 2018/09/29 = 92 98 * Initial version 93 99 94 100 == Upgrade Notice == 95 No upgrade notice 101 = 1.1 = 102 * No upgrade notice
Note: See TracChangeset
for help on using the changeset viewer.