diff --git a/readme.md b/readme.md index 5acc2557..73f2ede5 100644 --- a/readme.md +++ b/readme.md @@ -10,7 +10,7 @@ Sell Event Tickets on any post * Tags: tickets, events, WordPress * Requires at least: 4.7 * Tested up to: 5.7 -* Stable tag: `1.8.23` +* Stable tag: `1.8.24` * License: GPLv2 or later * License URI: http://www.gnu.org/licenses/gpl-2.0.html diff --git a/src/mt-button.php b/src/mt-button.php index 9c1ce2ae..89b3f70b 100644 --- a/src/mt-button.php +++ b/src/mt-button.php @@ -799,9 +799,9 @@ function mt_set_user_unique_id() { 'httponly' => true, 'samesite' => 'Lax', ); - setcookie( 'mt_unique_id', 'true', $options ); + setcookie( 'mt_unique_id', $unique_id, $options ); } else { - setcookie( 'mt_unique_id', 'true', time() + 60 * 60 * 24 * 7, SITECOOKIEPATH, COOKIE_DOMAIN, false, true ); + setcookie( 'mt_unique_id', $unique_id, time() + 60 * 60 * 24 * 7, SITECOOKIEPATH, COOKIE_DOMAIN, false, true ); } } } diff --git a/src/my-tickets.php b/src/my-tickets.php index 056eedb2..315d2d3c 100644 --- a/src/my-tickets.php +++ b/src/my-tickets.php @@ -17,7 +17,7 @@ * License: GPL-2.0+ * License URI: http://www.gnu.org/license/gpl-2.0.txt * Domain Path: lang - * Version: 1.8.23 + * Version: 1.8.24 */ /* @@ -46,7 +46,7 @@ * @return string Current My Tickets version. */ function mt_get_current_version() { - $mt_version = '1.8.23'; + $mt_version = '1.8.24'; return $mt_version; } diff --git a/src/readme.txt b/src/readme.txt index a764670c..d53aebd2 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -7,7 +7,7 @@ Tested up to: 5.7 Requires PHP: 5.6 License: GPLv2 or later Text domain: my-tickets -Stable tag: 1.8.23 +Stable tag: 1.8.24 My Tickets is an simple, flexible platform for selling event tickets with WordPress. @@ -66,6 +66,10 @@ Read the online documentation