Plugin Directory

Changeset 3241019


Ignore:
Timestamp:
02/15/2025 03:34:54 PM (14 months ago)
Author:
Genoo
Message:

Release $SOURCE_TAG

Location:
wpmktgengine
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wpmktgengine/tags/$SOURCE_TAG/trunk/libs/WPMKTENGINE/RepositoryPages.php

    r3198428 r3241019  
    109109    public function getPages()
    110110    {
    111         $prepForms = '';
    112         try {
    113             if (!$prepForms = $this->cache->get(self::REPO_NAMESPACE, self::REPO_NAMESPACE)) {
    114                 $prepForms = $this->api->getPages();
    115                 $this->cache->set(self::REPO_NAMESPACE, $prepForms, self::REPO_TIMER, self::REPO_NAMESPACE);
    116             }
    117         } catch (\Exception $e) {
    118         }
    119         $this->syncFailed = !is_array($prepForms);
    120         return $this->syncFailed ? [] : $prepForms;
     111      try {
     112        $prepForms =  $this->cache->get(self::REPO_NAMESPACE, self::REPO_NAMESPACE);
     113        if (!is_array($prepForms) || !$prepForms) {
     114            $prepForms = $this->api->getPages();
     115            if (is_array($prepForms)) {
     116              $this->cache->set(self::REPO_NAMESPACE, $prepForms, self::REPO_TIMER, self::REPO_NAMESPACE);
     117            }
     118        }
     119      } catch (\Exception $e) {
     120      }
     121      $this->syncFailed = !is_array($prepForms);
     122      return $this->syncFailed ? [] : $prepForms;
    121123    }
    122124
  • wpmktgengine/tags/$SOURCE_TAG/trunk/readme.txt

    r3222520 r3241019  
    33Tags: email marketing automation, landing page builder, email marketing, lead generation, online marketing, CRM
    44Requires at least: 4.6.0
    5 Tested up to: 6.7.1
     5Tested up to: 6.7.2
    66License: GPLv2 or later
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
    8 Stable tag: 4.0.28
     8Stable tag: 4.0.29
    99
    1010
     
    6464
    6565== Changelog ==
     66= 4.0.29 =
     67* Fixed issue with PageBuilder pages (templates) being cleared from cache prior to being refreshed, and pages not able to display.
     68
    6669= 4.0.27 =
    6770* Fixed dynamic CTA bug that wasn't inserting into middle of sidebar at specified position.
  • wpmktgengine/tags/$SOURCE_TAG/trunk/wpmktgengine.php

    r3222520 r3241019  
    66    Author URI: http://www.genoo.com/
    77    Author Email: info@genoo.com
    8     Version: 4.0.28
     8    Version: 4.0.29
    99    License: GPLv2
    1010    Text Domain: wpmktgengine
  • wpmktgengine/trunk/libs/WPMKTENGINE/RepositoryPages.php

    r3198428 r3241019  
    109109    public function getPages()
    110110    {
    111         $prepForms = '';
    112         try {
    113             if (!$prepForms = $this->cache->get(self::REPO_NAMESPACE, self::REPO_NAMESPACE)) {
    114                 $prepForms = $this->api->getPages();
    115                 $this->cache->set(self::REPO_NAMESPACE, $prepForms, self::REPO_TIMER, self::REPO_NAMESPACE);
    116             }
    117         } catch (\Exception $e) {
    118         }
    119         $this->syncFailed = !is_array($prepForms);
    120         return $this->syncFailed ? [] : $prepForms;
     111      try {
     112        $prepForms =  $this->cache->get(self::REPO_NAMESPACE, self::REPO_NAMESPACE);
     113        if (!is_array($prepForms) || !$prepForms) {
     114            $prepForms = $this->api->getPages();
     115            if (is_array($prepForms)) {
     116              $this->cache->set(self::REPO_NAMESPACE, $prepForms, self::REPO_TIMER, self::REPO_NAMESPACE);
     117            }
     118        }
     119      } catch (\Exception $e) {
     120      }
     121      $this->syncFailed = !is_array($prepForms);
     122      return $this->syncFailed ? [] : $prepForms;
    121123    }
    122124
  • wpmktgengine/trunk/readme.txt

    r3222520 r3241019  
    33Tags: email marketing automation, landing page builder, email marketing, lead generation, online marketing, CRM
    44Requires at least: 4.6.0
    5 Tested up to: 6.7.1
     5Tested up to: 6.7.2
    66License: GPLv2 or later
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
    8 Stable tag: 4.0.28
     8Stable tag: 4.0.29
    99
    1010
     
    6464
    6565== Changelog ==
     66= 4.0.29 =
     67* Fixed issue with PageBuilder pages (templates) being cleared from cache prior to being refreshed, and pages not able to display.
     68
    6669= 4.0.27 =
    6770* Fixed dynamic CTA bug that wasn't inserting into middle of sidebar at specified position.
  • wpmktgengine/trunk/wpmktgengine.php

    r3222520 r3241019  
    66    Author URI: http://www.genoo.com/
    77    Author Email: info@genoo.com
    8     Version: 4.0.28
     8    Version: 4.0.29
    99    License: GPLv2
    1010    Text Domain: wpmktgengine
Note: See TracChangeset for help on using the changeset viewer.