Changeset 2523423
- Timestamp:
- 04/29/2021 12:10:35 PM (5 years ago)
- Location:
- popup-maker-wp/trunk
- Files:
-
- 4 edited
-
com/classes/SGPMNotificationEngine.php (modified) (5 diffs)
-
config.php (modified) (1 diff)
-
popup-maker-api.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
popup-maker-wp/trunk/com/classes/SGPMNotificationEngine.php
r2479772 r2523423 14 14 private $reviewNotice = array( 15 15 'hash' => false, 16 'status' => true, 16 17 'type' => 'review', 17 18 'title' => 'Leave a Review', … … 49 50 { 50 51 $this->addCustomCronSchedule(); 51 $this-> setNotificationEngineOptions();52 $this->validateNotificationEngineOptions(); 52 53 53 54 $notificationsSource = get_option('sgpm_popup_maker_notification_engine_source'); … … 71 72 } 72 73 73 private function setNotificationEngineOptions()74 private function validateNotificationEngineOptions() 74 75 { 75 76 $storedNotificationSource = get_option('sgpm_popup_maker_notification_engine_source'); … … 212 213 public function create() 213 214 { 215 $this->validateNotificationEngineOptions(); 214 216 $innerHtml = $this->getNotificationBody(); 215 217 if ($innerHtml) { … … 262 264 $body = ''; 263 265 $showReviewNotice = $this->allowedToShowReviewNotice(); 264 265 $notificationsSource = get_option('sgpm_popup_maker_notification_engine_source');266 $notificationsSource = maybe_unserialize($notificationsSource);267 if (!$notificationsSource || !is_array($notificationsSource) || empty($notificationsSource)) return false;268 269 266 if ($showReviewNotice && is_array($this->activeNotifications)) { 270 267 array_push($this->activeNotifications, $this->reviewNotice); 271 268 (int)$this->activeNotificationsCount = count($this->activeNotifications); 272 269 } 273 274 270 if (empty($this->activeNotifications)) return false; 275 271 -
popup-maker-wp/trunk/config.php
r2479772 r2523423 10 10 define('SGPM_CLASSES', SGPM_PATH.'com'.SGPM_DS.'classes'.SGPM_DS); 11 11 define('SGPM_NOTIFICATIONS_SOURCE', SGPM_PATH.'public'.SGPM_DS.'notifications'.SGPM_DS); 12 define('SGPM_VERSION', '1.2 39');12 define('SGPM_VERSION', '1.241'); 13 13 define('SGPM_SERVICE_URL', 'https://popupmaker.com/'); 14 14 define('SGPM_NOTIFICATIONS_API_URL', SGPM_SERVICE_URL.'api/v1/notificationsPublic/'); -
popup-maker-wp/trunk/popup-maker-api.php
r2479772 r2523423 4 4 * Plugin URI: https://popupmaker.com/wordpress 5 5 * Description: Popup Maker is the ultimate tool that will help you run a cleverer and more effective marketing popups for your website. Create the most optimal popups to boost your sales. 6 * Version: 1.2. 3.96 * Version: 1.2.4.1 7 7 * Author: Popup Maker 8 8 * Author URI: https://popupmaker.com/ -
popup-maker-wp/trunk/readme.txt
r2479772 r2523423 6 6 Tags: popup maker, popup, pop up, exit popup, optin, popup builder, subscription popup, scroll popup, video popup, iframe popup 7 7 Requires at least: 3.8 8 Tested up to: 5. 68 Tested up to: 5.7 9 9 Stable tag: trunk 10 10 License: GPLv2 or later … … 166 166 == Changelog == 167 167 168 = 1.2.4.1 = 169 * Notification engine improvements. 170 168 171 = 1.2.3.9 = 169 172 * Bug fixes. … … 361 364 == Upgrade Notice == 362 365 363 Current version of Popup Maker is 1.2. 2.4366 Current version of Popup Maker is 1.2.4.1
Note: See TracChangeset
for help on using the changeset viewer.