Version Description
- Changed time limiter to 2 minutes from 1 hour to ease restrictions on sending update notifications
Download this release
Release Info
Developer | OneSignal |
Plugin | OneSignal – Free Web Push Notifications |
Version | 1.17.4 |
Comparing to | |
See all releases |
Code changes from version 1.17.3 to 1.17.4
- onesignal-admin.php +1 -1
- onesignal.php +1 -1
- readme.txt +5 -1
onesignal-admin.php
CHANGED
@@ -557,7 +557,7 @@ public static function uuid($title) {
|
|
557 |
$prev_minutes = get_option('TimeLastUpdated');
|
558 |
$prehash = (string)$title;
|
559 |
|
560 |
-
if ($prev_minutes !== false && ($now_minutes - $prev_minutes) >
|
561 |
update_option('TimeLastUpdated', $now_minutes);
|
562 |
$timestamp = $now_minutes;
|
563 |
} else if ($prev_minutes == false) {
|
557 |
$prev_minutes = get_option('TimeLastUpdated');
|
558 |
$prehash = (string)$title;
|
559 |
|
560 |
+
if ($prev_minutes !== false && ($now_minutes - $prev_minutes) > 2) {
|
561 |
update_option('TimeLastUpdated', $now_minutes);
|
562 |
$timestamp = $now_minutes;
|
563 |
} else if ($prev_minutes == false) {
|
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: 1.17.
|
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: 1.17.4
|
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: chrome, firefox, safari, push, push notifications, push notification, chrome push, safari push, firefox push, notification, notifications, web push, notify, mavericks, android, android push, android notifications, android notification, mobile notification, mobile notifications, mobile, desktop notification, roost, goroost, desktop notifications, gcm, push messages, onesignal
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 5.1
|
7 |
-
Stable tag: 1.17.
|
8 |
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -66,6 +66,10 @@ HTTPS Setup Video: [youtube https://www.youtube.com/watch?v=BeTZ2KgytC0]
|
|
66 |
|
67 |
== Changelog ==
|
68 |
|
|
|
|
|
|
|
|
|
69 |
= 1.17.3 =
|
70 |
|
71 |
- Added debug to logging to responses with non 200-level status codes
|
4 |
Tags: chrome, firefox, safari, push, push notifications, push notification, chrome push, safari push, firefox push, notification, notifications, web push, notify, mavericks, android, android push, android notifications, android notification, mobile notification, mobile notifications, mobile, desktop notification, roost, goroost, desktop notifications, gcm, push messages, onesignal
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 5.1
|
7 |
+
Stable tag: 1.17.4
|
8 |
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
66 |
|
67 |
== Changelog ==
|
68 |
|
69 |
+
= 1.17.4 =
|
70 |
+
|
71 |
+
- Changed time limiter to 2 minutes from 1 hour to ease restrictions on sending update notifications
|
72 |
+
|
73 |
= 1.17.3 =
|
74 |
|
75 |
- Added debug to logging to responses with non 200-level status codes
|