Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
588c4c6
Initial copy/paste of current PMPro notifications library with no cha…
brianhogg May 20, 2025
d8ebbfb
Initial readme tbw.
brianhogg May 20, 2025
9932e88
Formatting. Adding composer changes.
brianhogg May 20, 2025
1bac899
WIP: Moving functions into a class.
brianhogg May 20, 2025
0eb4809
Moving remainder of methods. Switching tests from function calls to a…
brianhogg May 20, 2025
633c343
Missed prefix replacement and comment update.
brianhogg May 20, 2025
3e8d177
Updating example.
brianhogg May 20, 2025
00d40cf
Switching type of the package.
brianhogg May 22, 2025
d1aa57c
Refactor.
brianhogg May 22, 2025
d17862d
Updated readme with correct include.
brianhogg May 22, 2025
38e9075
Fixing tests to take the current "test" value in addition to the data.
brianhogg May 22, 2025
dfd523a
Support both spellings of dismissible/dismissable.
brianhogg May 22, 2025
1b1eebd
Removing "what" comments. Checks for hiding a notice.
brianhogg May 23, 2025
6f509f2
Adding nonce check for hiding notices, and verification of current us…
brianhogg May 23, 2025
fc8ce5e
Adding generic option check.
brianhogg May 23, 2025
7864bb6
Fixing hide_if check, incorrect filter name.
brianhogg May 23, 2025
c35032d
Formatting.
brianhogg May 23, 2025
b8f4602
Unit tests (#2)
brianhogg May 23, 2025
c9aed5f
Merge branch 'trunk' into dev
brianhogg May 23, 2025
530b95f
Adding blank build step to avoid breaking github action.
brianhogg May 23, 2025
2672540
Adding changelog.
brianhogg May 23, 2025
ff5a9d1
Build for 1.0.1.
brianhogg May 23, 2025
214d387
Include our source which is needed by those using the plugin/library.
brianhogg May 23, 2025
8fad7a7
Updating plugin header version.
brianhogg May 23, 2025
1c3bbe6
Merge branch 'trunk' into dev
brianhogg May 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

v1.0.1 - 2025-05-23
-------------------

##### New Features

+ Initial release of shared notifications library.
2 changes: 1 addition & 1 deletion banner-notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Plugin Name: Banner Notifications
* Plugin URI: https://github.com/gocodebox/banner-notifications
* Description: Admin banner notifications library.
* Version: 1.0.0
* Version: 1.0.1
* Author: Gocodebox
* Author URI: https://lifterlms.com/
* Text Domain: gocodebox-banner-notifications
Expand Down
2 changes: 0 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@

"README.md",

"/src",

"dist",
"node_modules",
"tests",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gocodebox-banner-notifications",
"version": "1.0.0",
"version": "1.0.1",
"description": "notifications",
"author": "Gocodebox",
"homepage": "https://lifterlms.com/",
Expand Down
2 changes: 1 addition & 1 deletion src/notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ function notification_test_check_option( $value, $data ) {
/**
* Helper function to check if a value is greater than, less than, greater than or equal to, or less than or equal to another value.
*
* @since [version]
* @since 1.0.1
*
* @param mixed $option_value The option value to compare.
* @param string $check_type The comparison operator.
Expand Down
Loading