Skip to content

Commit

Permalink
Merge branch 'release/4.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
BracketSpaceWorker committed Nov 8, 2024
2 parents f8160c6 + 48a2990 commit b8f0bd5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion notification-bbpress.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Plugin URI: https://wordpress.org/plugins/notification-bbpress/
* Author: BracketSpace
* Author URI: https://bracketspace.com
* Version: 4.0.0
* Version: 4.0.1
* License: GPL3
* Text Domain: notification-bbpress
* Requires Plugins: bbpress, notification
Expand Down
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: notification, bracketspace, Kubitomakita
Tags: notification, notify, email, mail, bbpress, forum, trigger
Requires at least: 4.9
Tested up to: 5.8
Stable tag: 4.0.0
Stable tag: 4.0.1
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -56,7 +56,10 @@ Yes! We're offering a [custom plugin development](https://bracketspace.com/custo

== Changelog ==

= 4.0.0
= 4.0.1 =
* [Fixed] Wrong condition for Reply triggers, previously, unchecked option registered the triggers.

= 4.0.0 =
* [Changed] Plugin codebase to match Notification v9 internal API.

= 3.0.1 =
Expand Down
2 changes: 1 addition & 1 deletion src/Repository/TriggerRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static function register()
}

// phpcs:ignore SlevomatCodingStandard.ControlStructures.EarlyExit.EarlyExitNotUsed
if (!\Notification::settings()->getSetting('triggers/bbpress/reply_enable')) {
if (\Notification::settings()->getSetting('triggers/bbpress/reply_enable')) {
Register::trigger(new Trigger\Reply\Created());
Register::trigger(new Trigger\Reply\Updated());
Register::trigger(new Trigger\Reply\Removed());
Expand Down

0 comments on commit b8f0bd5

Please sign in to comment.