Plugin Directory

Changeset 2523423


Ignore:
Timestamp:
04/29/2021 12:10:35 PM (5 years ago)
Author:
popupmaker
Message:

New version 1.2.4.1 released

Location:
popup-maker-wp/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • popup-maker-wp/trunk/com/classes/SGPMNotificationEngine.php

    r2479772 r2523423  
    1414    private $reviewNotice = array(
    1515        'hash' => false,
     16        'status' => true,
    1617        'type' => 'review',
    1718        'title' => 'Leave a Review',
     
    4950    {
    5051        $this->addCustomCronSchedule();
    51         $this->setNotificationEngineOptions();
     52        $this->validateNotificationEngineOptions();
    5253
    5354        $notificationsSource = get_option('sgpm_popup_maker_notification_engine_source');
     
    7172    }
    7273
    73     private function setNotificationEngineOptions()
     74    private function validateNotificationEngineOptions()
    7475    {
    7576        $storedNotificationSource = get_option('sgpm_popup_maker_notification_engine_source');
     
    212213    public function create()
    213214    {
     215        $this->validateNotificationEngineOptions();
    214216        $innerHtml = $this->getNotificationBody();
    215217        if ($innerHtml) {
     
    262264        $body = '';
    263265        $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 
    269266        if ($showReviewNotice && is_array($this->activeNotifications)) {
    270267            array_push($this->activeNotifications, $this->reviewNotice);
    271268            (int)$this->activeNotificationsCount = count($this->activeNotifications);
    272269        }
    273 
    274270        if (empty($this->activeNotifications)) return false;
    275271
  • popup-maker-wp/trunk/config.php

    r2479772 r2523423  
    1010define('SGPM_CLASSES', SGPM_PATH.'com'.SGPM_DS.'classes'.SGPM_DS);
    1111define('SGPM_NOTIFICATIONS_SOURCE', SGPM_PATH.'public'.SGPM_DS.'notifications'.SGPM_DS);
    12 define('SGPM_VERSION', '1.239');
     12define('SGPM_VERSION', '1.241');
    1313define('SGPM_SERVICE_URL', 'https://popupmaker.com/');
    1414define('SGPM_NOTIFICATIONS_API_URL', SGPM_SERVICE_URL.'api/v1/notificationsPublic/');
  • popup-maker-wp/trunk/popup-maker-api.php

    r2479772 r2523423  
    44* Plugin URI: https://popupmaker.com/wordpress
    55* 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.9
     6* Version: 1.2.4.1
    77* Author: Popup Maker
    88* Author URI: https://popupmaker.com/
  • popup-maker-wp/trunk/readme.txt

    r2479772 r2523423  
    66Tags: popup maker, popup, pop up, exit popup, optin, popup builder, subscription popup, scroll popup, video popup, iframe popup
    77Requires at least: 3.8
    8 Tested up to: 5.6
     8Tested up to: 5.7
    99Stable tag: trunk
    1010License: GPLv2 or later
     
    166166== Changelog ==
    167167
     168= 1.2.4.1 =
     169* Notification engine improvements.
     170
    168171= 1.2.3.9 =
    169172* Bug fixes.
     
    361364== Upgrade Notice ==
    362365
    363 Current version of Popup Maker is 1.2.2.4
     366Current version of Popup Maker is 1.2.4.1
Note: See TracChangeset for help on using the changeset viewer.