OneSignal – Free Web Push Notifications - Version 2.3.1

Version Description

  • jQuery bug fix
Download this release

Release Info

Developer OneSignal
Plugin Icon 128x128 OneSignal – Free Web Push Notifications
Version 2.3.1
Comparing to
See all releases

Code changes from version 2.3.0 to 2.3.1

Files changed (3) hide show
  1. notice.js +6 -1
  2. onesignal.php +1 -1
  3. readme.txt +4 -1
notice.js CHANGED
@@ -44,7 +44,12 @@ function notice() {
44
  state.status = status;
45
 
46
  // is checked
47
- const send_os_notif = jQuery("#send_onesignal_notification")[0].checked;
 
 
 
 
 
48
 
49
  // if last modified differs from first modified times, post_modified = true
50
  const post_modified = modified !== state.first_modified;
44
  state.status = status;
45
 
46
  // is checked
47
+ let send_os_notif;
48
+ const htmlElement = jQuery("#send_onesignal_notification")[0];
49
+
50
+ if (!!htmlElement) {
51
+ send_os_notif = htmlElement.checked;
52
+ }
53
 
54
  // if last modified differs from first modified times, post_modified = true
55
  const post_modified = modified !== state.first_modified;
onesignal.php CHANGED
@@ -6,7 +6,7 @@ defined('ABSPATH') or die('This page may not be accessed directly.');
6
  * Plugin Name: OneSignal Push Notifications
7
  * Plugin URI: https://onesignal.com/
8
  * Description: Free web push notifications.
9
- * Version: 2.3.0
10
  * Author: OneSignal
11
  * Author URI: https://onesignal.com
12
  * License: MIT
6
  * Plugin Name: OneSignal Push Notifications
7
  * Plugin URI: https://onesignal.com/
8
  * Description: Free web push notifications.
9
+ * Version: 2.3.1
10
  * Author: OneSignal
11
  * Author URI: https://onesignal.com
12
  * License: MIT
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://onesignal.com
4
  Tags: push notification, push notifications, desktop notifications, mobile notifications, chrome push, android, android notification, android notifications, android push, desktop notification, firefox, firefox push, mobile, mobile notification, notification, notifications, notify, onesignal, push, push messages, safari, safari push, web push, chrome
5
  Requires at least: 3.8
6
  Tested up to: 6.0
7
- Stable tag: 2.3.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -67,6 +67,9 @@ HTTPS Setup Video: [youtube https://www.youtube.com/watch?v=BeTZ2KgytC0]
67
 
68
  == Changelog ==
69
 
 
 
 
70
  = 2.3.0 =
71
  - Use `onesignal_is_amp` to allow filtering
72
  - Add additional sanitization to post titles
4
  Tags: push notification, push notifications, desktop notifications, mobile notifications, chrome push, android, android notification, android notifications, android push, desktop notification, firefox, firefox push, mobile, mobile notification, notification, notifications, notify, onesignal, push, push messages, safari, safari push, web push, chrome
5
  Requires at least: 3.8
6
  Tested up to: 6.0
7
+ Stable tag: 2.3.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
67
 
68
  == Changelog ==
69
 
70
+ = 2.3.1 =
71
+ - jQuery bug fix
72
+
73
  = 2.3.0 =
74
  - Use `onesignal_is_amp` to allow filtering
75
  - Add additional sanitization to post titles