Plugin Directory

Changeset 1682810


Ignore:
Timestamp:
06/21/2017 05:12:21 PM (9 years ago)
Author:
giveawayboost
Message:

Version 1.0.7

Location:
giveaway-boost
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • giveaway-boost/tags/1.0.7/components/views-public/types/giveaway/functions/giveaway.functions.php

    r1623174 r1682810  
    4141        $address  = gb_get_ipaddress();
    4242        $email    = isset($tracking['email']) ? $tracking['email'] : '';
     43        $token    = isset($_GET['entry']) ? stripslashes($_GET['entry']) : '';
    4344
    44         return gb_get_entry_existing($giveaway, $address, $email, '');
     45        return gb_get_entry_existing($giveaway, $address, $email, $token);
    4546    }
    4647}
  • giveaway-boost/tags/1.0.7/components/views-public/types/giveaway/giveaway.php

    r1624222 r1682810  
    136136                        ], time() + 5 * YEAR_IN_SECONDS);
    137137
    138                         gb_redirect(get_permalink(get_queried_object_id()));
     138                        gb_redirect(add_query_arg('entry', gb_get_entry_token($entry), get_permalink(get_queried_object_id())));
    139139                    }
    140140                }
  • giveaway-boost/tags/1.0.7/giveaway-boost.php

    r1674984 r1682810  
    44Plugin URI:  http://giveawayboost.com/
    55Description: Easily run giveaways on your WordPress site.
    6 Version:     1.0.6
     6Version:     1.0.7
    77Author:      Giveaway Boost
    88Author URI:  http://giveawayboost.com/
  • giveaway-boost/tags/1.0.7/includes/constants.php

    r1674984 r1682810  
    77if(!defined('GB__PLUGIN__VERSION')) {
    88    // Plugin version - used for update checks and cache bursting
    9     define('GB__PLUGIN__VERSION', '1.0.6');
     9    define('GB__PLUGIN__VERSION', '1.0.7');
    1010}
    1111
  • giveaway-boost/tags/1.0.7/readme.txt

    r1674984 r1682810  
    33Requires at least: 4.7
    44Tested up to:      4.8
    5 Stable tag:        1.0.6
     5Stable tag:        1.0.7
    66License:           GPLv3
    77License URI:       http://www.gnu.org/licenses/gpl-3.0.html
     
    7474== Changelog ==
    7575
     76= 1.0.7 =
     77* After entry, redirect to the giveaway url with the entry token as a query argument (cache circumvention technique)
     78
    7679= 1.0.6 =
    7780* Removed IP address reliance for finding an existing entry for a user - only use cookies by default, or the email address that a user enters
  • giveaway-boost/trunk/components/views-public/types/giveaway/functions/giveaway.functions.php

    r1623174 r1682810  
    4141        $address  = gb_get_ipaddress();
    4242        $email    = isset($tracking['email']) ? $tracking['email'] : '';
     43        $token    = isset($_GET['entry']) ? stripslashes($_GET['entry']) : '';
    4344
    44         return gb_get_entry_existing($giveaway, $address, $email, '');
     45        return gb_get_entry_existing($giveaway, $address, $email, $token);
    4546    }
    4647}
  • giveaway-boost/trunk/components/views-public/types/giveaway/giveaway.php

    r1624222 r1682810  
    136136                        ], time() + 5 * YEAR_IN_SECONDS);
    137137
    138                         gb_redirect(get_permalink(get_queried_object_id()));
     138                        gb_redirect(add_query_arg('entry', gb_get_entry_token($entry), get_permalink(get_queried_object_id())));
    139139                    }
    140140                }
  • giveaway-boost/trunk/giveaway-boost.php

    r1674984 r1682810  
    44Plugin URI:  http://giveawayboost.com/
    55Description: Easily run giveaways on your WordPress site.
    6 Version:     1.0.6
     6Version:     1.0.7
    77Author:      Giveaway Boost
    88Author URI:  http://giveawayboost.com/
  • giveaway-boost/trunk/includes/constants.php

    r1674984 r1682810  
    77if(!defined('GB__PLUGIN__VERSION')) {
    88    // Plugin version - used for update checks and cache bursting
    9     define('GB__PLUGIN__VERSION', '1.0.6');
     9    define('GB__PLUGIN__VERSION', '1.0.7');
    1010}
    1111
  • giveaway-boost/trunk/readme.txt

    r1674984 r1682810  
    33Requires at least: 4.7
    44Tested up to:      4.8
    5 Stable tag:        1.0.6
     5Stable tag:        1.0.7
    66License:           GPLv3
    77License URI:       http://www.gnu.org/licenses/gpl-3.0.html
     
    7474== Changelog ==
    7575
     76= 1.0.7 =
     77* After entry, redirect to the giveaway url with the entry token as a query argument (cache circumvention technique)
     78
    7679= 1.0.6 =
    7780* Removed IP address reliance for finding an existing entry for a user - only use cookies by default, or the email address that a user enters
Note: See TracChangeset for help on using the changeset viewer.