Changeset 1682810
- Timestamp:
- 06/21/2017 05:12:21 PM (9 years ago)
- Location:
- giveaway-boost
- Files:
-
- 10 edited
- 1 copied
-
tags/1.0.7 (copied) (copied from giveaway-boost/trunk)
-
tags/1.0.7/components/views-public/types/giveaway/functions/giveaway.functions.php (modified) (1 diff)
-
tags/1.0.7/components/views-public/types/giveaway/giveaway.php (modified) (1 diff)
-
tags/1.0.7/giveaway-boost.php (modified) (1 diff)
-
tags/1.0.7/includes/constants.php (modified) (1 diff)
-
tags/1.0.7/readme.txt (modified) (2 diffs)
-
trunk/components/views-public/types/giveaway/functions/giveaway.functions.php (modified) (1 diff)
-
trunk/components/views-public/types/giveaway/giveaway.php (modified) (1 diff)
-
trunk/giveaway-boost.php (modified) (1 diff)
-
trunk/includes/constants.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
giveaway-boost/tags/1.0.7/components/views-public/types/giveaway/functions/giveaway.functions.php
r1623174 r1682810 41 41 $address = gb_get_ipaddress(); 42 42 $email = isset($tracking['email']) ? $tracking['email'] : ''; 43 $token = isset($_GET['entry']) ? stripslashes($_GET['entry']) : ''; 43 44 44 return gb_get_entry_existing($giveaway, $address, $email, '');45 return gb_get_entry_existing($giveaway, $address, $email, $token); 45 46 } 46 47 } -
giveaway-boost/tags/1.0.7/components/views-public/types/giveaway/giveaway.php
r1624222 r1682810 136 136 ], time() + 5 * YEAR_IN_SECONDS); 137 137 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()))); 139 139 } 140 140 } -
giveaway-boost/tags/1.0.7/giveaway-boost.php
r1674984 r1682810 4 4 Plugin URI: http://giveawayboost.com/ 5 5 Description: Easily run giveaways on your WordPress site. 6 Version: 1.0. 66 Version: 1.0.7 7 7 Author: Giveaway Boost 8 8 Author URI: http://giveawayboost.com/ -
giveaway-boost/tags/1.0.7/includes/constants.php
r1674984 r1682810 7 7 if(!defined('GB__PLUGIN__VERSION')) { 8 8 // 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'); 10 10 } 11 11 -
giveaway-boost/tags/1.0.7/readme.txt
r1674984 r1682810 3 3 Requires at least: 4.7 4 4 Tested up to: 4.8 5 Stable tag: 1.0. 65 Stable tag: 1.0.7 6 6 License: GPLv3 7 7 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 74 74 == Changelog == 75 75 76 = 1.0.7 = 77 * After entry, redirect to the giveaway url with the entry token as a query argument (cache circumvention technique) 78 76 79 = 1.0.6 = 77 80 * 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 41 41 $address = gb_get_ipaddress(); 42 42 $email = isset($tracking['email']) ? $tracking['email'] : ''; 43 $token = isset($_GET['entry']) ? stripslashes($_GET['entry']) : ''; 43 44 44 return gb_get_entry_existing($giveaway, $address, $email, '');45 return gb_get_entry_existing($giveaway, $address, $email, $token); 45 46 } 46 47 } -
giveaway-boost/trunk/components/views-public/types/giveaway/giveaway.php
r1624222 r1682810 136 136 ], time() + 5 * YEAR_IN_SECONDS); 137 137 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()))); 139 139 } 140 140 } -
giveaway-boost/trunk/giveaway-boost.php
r1674984 r1682810 4 4 Plugin URI: http://giveawayboost.com/ 5 5 Description: Easily run giveaways on your WordPress site. 6 Version: 1.0. 66 Version: 1.0.7 7 7 Author: Giveaway Boost 8 8 Author URI: http://giveawayboost.com/ -
giveaway-boost/trunk/includes/constants.php
r1674984 r1682810 7 7 if(!defined('GB__PLUGIN__VERSION')) { 8 8 // 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'); 10 10 } 11 11 -
giveaway-boost/trunk/readme.txt
r1674984 r1682810 3 3 Requires at least: 4.7 4 4 Tested up to: 4.8 5 Stable tag: 1.0. 65 Stable tag: 1.0.7 6 6 License: GPLv3 7 7 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 74 74 == Changelog == 75 75 76 = 1.0.7 = 77 * After entry, redirect to the giveaway url with the entry token as a query argument (cache circumvention technique) 78 76 79 = 1.0.6 = 77 80 * 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.