Skip to content

Commit b00da59

Browse files
authored
Merge pull request #9 from gocodebox/dev
Release 1.1.1
2 parents 3c83ff6 + c8b5e66 commit b00da59

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
v1.0.1 - 2025-05-23
33
-------------------
44

5+
v1.1.1 - 2025-08-19
6+
-------------------
7+
8+
##### Bug Fixes
9+
10+
+ Avoid loading class if it already exists.
11+
12+
513
v1.1.0 - 2025-07-18
614
-------------------
715

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gocodebox-banner-notifications",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "notifications",
55
"author": "Gocodebox",
66
"homepage": "https://lifterlms.com/",

src/notifications.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
* 'notifications_url' => 'https://example.com/notifications.json',
99
* ) );
1010
*/
11+
defined( 'ABSPATH' ) || exit;
12+
13+
if ( class_exists( 'Gocodebox_Banner_Notifier' ) ) {
14+
return;
15+
}
1116

1217
class Gocodebox_Banner_Notifier {
1318

0 commit comments

Comments
 (0)