Plugin Directory

Changeset 3198166


Ignore:
Timestamp:
11/27/2024 01:10:26 PM (16 months ago)
Author:
Genoo
Message:

Release refs/heads/master

Location:
genoo/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • genoo/trunk/Genoo.php

    r3196959 r3198166  
    66    Author URI: http://www.genoo.com/
    77    Author Email: info@genoo.com
    8     Version: 6.0.13
     8    Version: 6.0.14
    99    License: GPLv2
    1010    Text Domain: genoo
  • genoo/trunk/libs/WPMKTENGINE/RepositoryPages.php

    r2761864 r3198166  
    5656
    5757    /**
     58     * Flag to notify pages table about sync failure
     59     */
     60    public $syncFailed;
     61
     62    /**
    5863     * Directory Key map
    5964     */
     
    112117        } catch (\Exception $e) {
    113118        }
    114         return $prepForms;
     119        $this->syncFailed = !is_array($prepForms);
     120        return $this->syncFailed ? [] : $prepForms;
    115121    }
    116122
  • genoo/trunk/libs/WPMKTENGINE/TablePages.php

    r2761864 r3198166  
    591591     * No Items notices
    592592     */
    593     function no_items(){ echo __('There are no Pages created in your account.', 'wpmktengine'); }
     593    function no_items(){
     594      if ($this->repositoryPages->syncFailed) {
     595        echo __('<b>Sync failed. Please retry.</b>', 'wpmktengine');
     596      } else {
     597        echo __('There are no Pages created in your account.', 'wpmktengine');
     598      }
     599    }
    594600
    595601    /**
  • genoo/trunk/readme.txt

    r3196959 r3198166  
    66License: GPLv2 or later
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
    8 Stable tag: 6.0.13
     8Stable tag: 6.0.14
    99
    1010Combine the flexibility of WordPress with the power of Genoo and experience amazing results!
Note: See TracChangeset for help on using the changeset viewer.