Skip to content

Commit

Permalink
Fix notification showing when callback doesn't exist.
Browse files Browse the repository at this point in the history
* BUG FIX: Fixed a potential issue when a callback doesn't exist in PMPro notification conditional JSON.
  • Loading branch information
andrewlimaza committed Feb 3, 2025
1 parent 6d6d219 commit c8b2ddb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ function pmpro_should_show_notification( $notification ) {
// one test failed, let's not show
break;
}
} else {
$show = false;
}
}
}
Expand Down

0 comments on commit c8b2ddb

Please sign in to comment.