Changeset 2039381
- Timestamp:
- 02/26/2019 05:14:51 AM (7 years ago)
- Location:
- wp-affiliate-disclosure/trunk
- Files:
-
- 6 edited
-
README.txt (modified) (1 diff)
-
freemius/includes/class-freemius.php (modified) (3 diffs)
-
freemius/start.php (modified) (1 diff)
-
freemius/templates/debug.php (modified) (2 diffs)
-
functions.php (modified) (3 diffs)
-
package.json (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-affiliate-disclosure/trunk/README.txt
r2024389 r2039381 4 4 Requires at least: 4.9.8 5 5 Requires PHP: 5.6 6 Tested up to: 5. 0.37 Stable tag: 1.1. 36 Tested up to: 5.1.0 7 Stable tag: 1.1.4 8 8 Tags: affiliate, disclosure, affiliate disclosure, affiliate disclosure statement, disclosure statement, FTC-compliant disclosure, affiliate disclaimer, affiliate disclaimer statement, FTC, FTC disclosure statement 9 9 License: GPLv2 or later -
wp-affiliate-disclosure/trunk/freemius/includes/class-freemius.php
r2023234 r2039381 2978 2978 */ 2979 2979 static function _toggle_debug_mode() { 2980 if ( ! is_super_admin() ) { 2981 return; 2982 } 2983 2980 2984 $is_on = fs_request_get( 'is_on', false, 'post' ); 2981 2985 … … 3009 3013 */ 3010 3014 static function _get_db_option() { 3015 check_admin_referer( 'fs_get_db_option' ); 3016 3011 3017 $option_name = fs_request_get( 'option_name' ); 3018 3019 if ( ! is_super_admin() || 3020 ! fs_starts_with( $option_name, 'fs_' ) 3021 ) { 3022 self::shoot_ajax_failure(); 3023 } 3012 3024 3013 3025 $value = get_option( $option_name ); … … 3033 3045 */ 3034 3046 static function _set_db_option() { 3035 $option_name = fs_request_get( 'option_name' ); 3047 check_admin_referer( 'fs_set_db_option' ); 3048 3049 $option_name = fs_request_get( 'option_name' ); 3050 3051 if ( ! is_super_admin() || 3052 ! fs_starts_with( $option_name, 'fs_' ) 3053 ) { 3054 self::shoot_ajax_failure(); 3055 } 3056 3036 3057 $option_value = fs_request_get( 'option_value' ); 3037 3058 -
wp-affiliate-disclosure/trunk/freemius/start.php
r2023234 r2039381 16 16 * @var string 17 17 */ 18 $this_sdk_version = '2.2. 3';18 $this_sdk_version = '2.2.4'; 19 19 20 20 #region SDK Selection Logic -------------------------------------------------------------------- -
wp-affiliate-disclosure/trunk/freemius/templates/debug.php
r2023234 r2039381 114 114 $.post(ajaxurl, { 115 115 action : 'fs_get_db_option', 116 _wpnonce : '<?php echo wp_create_nonce( 'fs_get_db_option' ) ?>', 116 117 option_name: optionName 117 118 }, function (response) { … … 133 134 $.post(ajaxurl, { 134 135 action : 'fs_set_db_option', 136 _wpnonce : '<?php echo wp_create_nonce( 'fs_set_db_option' ) ?>', 135 137 option_name : optionName, 136 138 option_value: optionValue -
wp-affiliate-disclosure/trunk/functions.php
r2024389 r2039381 1 1 <?php /* 2 2 Plugin Name: WP Affiliate Disclosure 3 Version: 1.1. 33 Version: 1.1.4 4 4 Plugin URI: https://www.mojofywp.com/wp-affiliate-disclosure 5 5 Description: Automatically add a customizable, FTC-compliant disclosure statement across your WordPress website based on the rule(s) you define. … … 10 10 Requires at least: 4.9.8 11 11 Tested up to: 5.0.3 12 Stable tag: 1.1. 312 Stable tag: 1.1.4 13 13 14 14 Text Domain: wp-affiliate-disclosure 15 Domain Path: /lang/ 16 17 @fs_premium_only /includes/help/premium_version.php, /assets/sass/,/includes/widgets/ 15 Domain Path: /lang 18 16 19 17 Copyright 2012 - 2018 Smashing Advantage Enterprise. … … 53 51 * Plugin version 54 52 **/ 55 if(!defined('WPADC_VERSION')) define( 'WPADC_VERSION', '1.1. 3' );53 if(!defined('WPADC_VERSION')) define( 'WPADC_VERSION', '1.1.4' ); 56 54 57 55 /** -
wp-affiliate-disclosure/trunk/package.json
r2024389 r2039381 1 1 { 2 2 "name": "wpaffiliatedisclosure", 3 "version": "1.1. 3",3 "version": "1.1.4", 4 4 "scripts": { 5 5 "start": "cross-env webpack --watch",
Note: See TracChangeset
for help on using the changeset viewer.