Plugin Directory

Changeset 2039381


Ignore:
Timestamp:
02/26/2019 05:14:51 AM (7 years ago)
Author:
mojofywp
Message:

security fix

Location:
wp-affiliate-disclosure/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • wp-affiliate-disclosure/trunk/README.txt

    r2024389 r2039381  
    44Requires at least: 4.9.8
    55Requires PHP: 5.6
    6 Tested up to: 5.0.3
    7 Stable tag: 1.1.3
     6Tested up to: 5.1.0
     7Stable tag: 1.1.4
    88Tags: affiliate, disclosure, affiliate disclosure, affiliate disclosure statement, disclosure statement, FTC-compliant disclosure, affiliate disclaimer, affiliate disclaimer statement, FTC, FTC disclosure statement
    99License: GPLv2 or later
  • wp-affiliate-disclosure/trunk/freemius/includes/class-freemius.php

    r2023234 r2039381  
    29782978         */
    29792979        static function _toggle_debug_mode() {
     2980            if ( ! is_super_admin() ) {
     2981                return;
     2982            }
     2983
    29802984            $is_on = fs_request_get( 'is_on', false, 'post' );
    29812985
     
    30093013         */
    30103014        static function _get_db_option() {
     3015            check_admin_referer( 'fs_get_db_option' );
     3016
    30113017            $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            }
    30123024
    30133025            $value = get_option( $option_name );
     
    30333045         */
    30343046        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
    30363057            $option_value = fs_request_get( 'option_value' );
    30373058
  • wp-affiliate-disclosure/trunk/freemius/start.php

    r2023234 r2039381  
    1616     * @var string
    1717     */
    18     $this_sdk_version = '2.2.3';
     18    $this_sdk_version = '2.2.4';
    1919
    2020    #region SDK Selection Logic --------------------------------------------------------------------
  • wp-affiliate-disclosure/trunk/freemius/templates/debug.php

    r2023234 r2039381  
    114114                $.post(ajaxurl, {
    115115                    action     : 'fs_get_db_option',
     116                    _wpnonce   : '<?php echo wp_create_nonce( 'fs_get_db_option' ) ?>',
    116117                    option_name: optionName
    117118                }, function (response) {
     
    133134                    $.post(ajaxurl, {
    134135                        action      : 'fs_set_db_option',
     136                        _wpnonce   : '<?php echo wp_create_nonce( 'fs_set_db_option' ) ?>',
    135137                        option_name : optionName,
    136138                        option_value: optionValue
  • wp-affiliate-disclosure/trunk/functions.php

    r2024389 r2039381  
    11<?php /*
    22Plugin Name: WP Affiliate Disclosure
    3 Version: 1.1.3
     3Version: 1.1.4
    44Plugin URI: https://www.mojofywp.com/wp-affiliate-disclosure
    55Description: Automatically add a customizable, FTC-compliant disclosure statement across your WordPress website based on the rule(s) you define.
     
    1010Requires at least: 4.9.8
    1111Tested up to: 5.0.3
    12 Stable tag: 1.1.3
     12Stable tag: 1.1.4
    1313
    1414Text Domain: wp-affiliate-disclosure
    15 Domain Path: /lang/
    16 
    17 @fs_premium_only /includes/help/premium_version.php, /assets/sass/,/includes/widgets/
     15Domain Path: /lang
    1816
    1917Copyright 2012 - 2018 Smashing Advantage Enterprise.
     
    5351 * Plugin version
    5452 **/
    55 if(!defined('WPADC_VERSION')) define( 'WPADC_VERSION', '1.1.3' );
     53if(!defined('WPADC_VERSION')) define( 'WPADC_VERSION', '1.1.4' );
    5654
    5755/**
  • wp-affiliate-disclosure/trunk/package.json

    r2024389 r2039381  
    11{
    22  "name": "wpaffiliatedisclosure",
    3   "version": "1.1.3",
     3  "version": "1.1.4",
    44  "scripts": {
    55    "start": "cross-env webpack --watch",
Note: See TracChangeset for help on using the changeset viewer.