Plugin Directory

Changeset 2767625


Ignore:
Timestamp:
08/08/2022 07:46:34 AM (4 years ago)
Author:
Sygnoos
Message:

New version 4.1.13 released

Location:
popup-builder
Files:
359 added
6 edited

Legend:

Unmodified
Added
Removed
  • popup-builder/trunk/com/classes/Actions.php

    r2749006 r2767625  
    5858        add_filter('cron_schedules', array($this, 'cronAddMinutes'), 10, 1);
    5959        add_action('sgpb_send_newsletter', array($this, 'newsletterSendEmail'), 10, 1);
    60         add_action('sgpbGetBannerContentOnce', array($this, 'getBannerContent'), 10, 1);
     60        // add_action('sgpbGetBannerContentOnce', array($this, 'getBannerContent'), 10, 1);
    6161        add_action('plugins_loaded', array($this, 'loadTextDomain'));
    6262        // for change admin popup list order
  • popup-builder/trunk/com/classes/popups/SGPopup.php

    r2743521 r2767625  
    653653                    $postType = $valueAttrs['data-value-param'];
    654654                    $isNotPostType = '';
     655
    655656                    if (isset($valueAttrs['isNotPostType'])) {
    656657                        $isNotPostType = $valueAttrs['isNotPostType'];
     
    664665                        $targetData[$groupId][$ruleId]['value'] = ConfigDataHelper::getTermsByIds($ruleData['value']);
    665666                    } elseif(isset($valueAttrs['isPostTag'])) {
    666                         $targetData[$groupId][$ruleId]['value'] = ConfigDataHelper::getTagsByIds($ruleData['value']);
     667                        $targetData[$groupId][$ruleId]['value'] = ConfigDataHelper::getTagsBySlug($ruleData['value']);
    667668                    }
    668669
  • popup-builder/trunk/com/config/configPackage.php

    r2749006 r2767625  
    44}
    55
    6 define('SG_POPUP_VERSION', '4.1.12');
     6define('SG_POPUP_VERSION', '4.1.13');
    77define('SGPB_POPUP_PKG', SGPB_POPUP_PKG_FREE);
    88define('POPUP_BUILDER_BASENAME', 'popupbuilder-platinum/popup-builder.php');
  • popup-builder/trunk/com/helpers/ConfigDataHelper.php

    r2721110 r2767625  
    259259            'hide_empty' => false,
    260260            'include' => $ids
     261        ));
     262        foreach ($tags as $tag) {
     263            $allTags[$tag->slug] = $tag->name;
     264        }
     265        return $allTags;
     266    }
     267    public static function getTagsBySlug($ids = [])
     268    {
     269        $allTags = array();
     270        $tags = get_tags(array(
     271            'hide_empty' => false,
     272            'slug' => $ids
    261273        ));
    262274        foreach ($tags as $tag) {
  • popup-builder/trunk/popup-builder.php

    r2749006 r2767625  
    44* Plugin URI: https://popup-builder.com
    55* Description: The most complete popup plugin. Html, image, iframe, shortcode, video and many other popup types. Manage popup dimensions, effects, themes and more.
    6 * Version: 4.1.12
     6* Version: 4.1.13
    77* Author: Sygnoos
    88* Author URI: https://sygnoos.com
  • popup-builder/trunk/readme.txt

    r2749117 r2767625  
    99Tested up to: 6.0
    1010Requires PHP: 5.3.3
    11 Stable tag: 4.1.12
     11Stable tag: 4.1.13
    1212License: GPLv2 or later
    1313License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    147147== Changelog ==
    148148
     149= Version 4.1.13 =
     150* Bug fixed related to tags in Display rules
     151* Bug fixed related to PHP warnings that were visible in the plugin
     152
    149153= Version 4.1.12 =
    150154* Improvement of code: Cross-site request forgery issues have been solved : Credits: @yeraisci_
     
    560564== Upgrade Notice ==
    561565
    562 Current Version of Popup Builder is 4.1.12
     566Current Version of Popup Builder is 4.1.13
Note: See TracChangeset for help on using the changeset viewer.