Skip to content

Commit

Permalink
Merge branch 'release/8.0.8'
Browse files Browse the repository at this point in the history
  • Loading branch information
BracketSpaceWorker committed Dec 6, 2021
2 parents 029ac69 + 9e15d92 commit 87aad60
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion notification.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Description: Customisable email and webhook notifications with powerful developer friendly API for custom triggers and notifications. Send alerts easily.
* Author: BracketSpace
* Author URI: https://bracketspace.com
* Version: 8.0.7
* Version: 8.0.8
* License: GPL3
* Text Domain: notification
* Domain Path: /languages
Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: notification, bracketspace, Kubitomakita, tomaszadamowicz, insejn,
Tags: notification, notify, alert, email, mail, webhook, API, developer, framework
Requires at least: 4.9
Tested up to: 5.8
Stable tag: 8.0.7
Stable tag: 8.0.8
Requires PHP: 7.0
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Expand Down Expand Up @@ -302,6 +302,10 @@ Yes! We're offering a [custom plugin development](https://bracketspace.com/custo

== Changelog ==

= 8.0.8 =

* [Fixed] Two or more same triggers processed in the same request overwriting each other data.

= 8.0.7 =

* [Fixed] Shortcode stripping regex that was matching JSON arrays.
Expand Down
2 changes: 1 addition & 1 deletion src/Core/Queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Queue {
public static function add( CoreNotification $notification, Triggerable $trigger, int $index = null ) {
$item = [
'notification' => $notification,
'trigger' => $trigger,
'trigger' => clone $trigger,
];

if ( null !== $index ) {
Expand Down

0 comments on commit 87aad60

Please sign in to comment.