Plugin Directory

Changeset 2761864


Ignore:
Timestamp:
07/26/2022 02:10:08 PM (4 years ago)
Author:
Genoo
Message:

Release refs/heads/master

Location:
genoo/trunk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • genoo/trunk/Genoo.php

    r2635149 r2761864  
    66    Author URI: http://www.genoo.com/
    77    Author Email: info@genoo.com
    8     Version: 6.0.5
     8    Version: 6.0.8
    99    License: GPLv2
    1010    Text Domain: genoo
  • genoo/trunk/GenooInit.php

    r2550147 r2761864  
    9292        // helper constants
    9393        define('GENOO_PART_SETUP', $this->api->isSetup());
     94        if (!defined('GENOO_SETUP')){
    9495        define('GENOO_SETUP', $this->api->isSetupFull());
     96        }
    9597        define('GENOO_LUMENS', $this->api->isLumensSetup());
    9698        if(GENOO_SETUP){
  • genoo/trunk/libs/Genoo/Admin.php

    r2420537 r2761864  
    365365            $wpmkteMenu = $submenu['Genoo'][4];
    366366            unset($submenu['Genoo'][4]);
    367             $submenu['Genoo'] = \WPMKTENGINE\Utils\ArrayObject::appendTo($submenu['Genoo'], 2, $wpmkteMenu);
     367            $submenu['Genoo'] = \WPMKTENGINE\Utils\ArrayObject::appendTo($submenu['Genoo'], $wpmkteMenu,  2);
    368368            // Order game
    369369            \WPMKTENGINE\Utils\ArrayObject::moveFromPositionToPosition($submenu['Genoo'], 2, 1);
  • genoo/trunk/libs/WPME/Extensions/Clever/Plugins.php

    r2526949 r2761864  
    7474                    // On install
    7575                    jQuery(document).on('wp-plugin-install-success', function(event, data){
    76                         if (data.slug.indexOf("wpmktgengine") !== -1) {
     76                       
    7777                            // Get container
    7878                            var url = ajaxurl.replace(/[^\/]*$/, '');
     
    8888                                    .removeClass('thickbox')
    8989                                    .removeClass('open-plugin-details-modal');
    90                         }
    9190                        return;
    9291                    });
  • genoo/trunk/libs/WPMKTENGINE/CTA.php

    r1638966 r2761864  
    198198        $this->formTheme = $i;
    199199        $this->isClasslist = $a == 'class' ? true : false;
    200         $this->isLink = $this->isForm ? false : $this->isClasslist ? false : true;
     200        $this->isLink = $this->isForm ? false : ($this->isClasslist ? false : true);
    201201        $this->isNewWindow = ($c == 'true') ? true : false;
    202202        $this->isImage = $d == 'image' ? true : false;
  • genoo/trunk/libs/WPMKTENGINE/RepositoryPages.php

    r2195200 r2761864  
    259259      $pagesTree = $this->explodeTree(
    260260        $pagesFromDatabase,
     261        $searchQuery,
    261262        $pagesDependencies,
    262         $searchQuery,
    263263        function($leafPart, $returnedValue) use ($pagesDependencies) {
    264264          return array(
     
    281281     * but it is the fastest way this time.
    282282     */
    283     public function explodeTree($array, $pagesDependencies = array(), $searchQuery, $valueGenerator = false)
     283    public function explodeTree($array, $searchQuery, $pagesDependencies = array(), $valueGenerator = false)
    284284    {
    285285      $delimiter = ' / ';
  • genoo/trunk/libs/WPMKTENGINE/TablePages.php

    r2419124 r2761864  
    557557            $this->search_box(
    558558              $searchText,
    559               __('Page name, URL or ID', 'wpmktengine'),
    560               'search-wpme-landing-pages'
     559               'search-wpme-landing-pages',
     560              __('Page name, URL or ID', 'wpmktengine')
    561561            );
    562562        }
  • genoo/trunk/libs/WPMKTENGINE/Utils/ArrayObject.php

    r1573225 r2761864  
    8686     */
    8787
    88     public static function appendTo(&$array, $position=null, $element)
     88    public static function appendTo(&$array, $element, $position=null)
    8989    {
    9090        if(count($array) == 0){
    9191            $array[] = $element;
    9292        } elseif (is_numeric($position) && $position < 0){
    93             if((count($array)+position) < 0) {
     93            if((count($array)+$position) < 0) {
    9494                $array = array_insert($array,$element,0);
    9595            } else {
  • genoo/trunk/libs/WPMKTENGINE/Utils/Strings.php

    r1573225 r2761864  
    208208            $s = strtolower($s);
    209209        }
     210        $charlist = isset($charlist) ? $charlist : '';
    210211        $s = preg_replace('#[^a-z0-9' . preg_quote($charlist, '#') . ']+#i', '-', $s);
    211212        $s = trim($s, '-');
     
    591592            throw new RegexpException("$message in pattern: " . implode(' or ', (array) $pattern));
    592593        });
     594        $subject = isset($subject) ? $subject : '';
    593595        $res = preg_replace($pattern, $replacement, $subject, $limit);
    594596        restore_error_handler();
  • genoo/trunk/libs/WPMKTENGINE/Wordpress/TableLite.php

    r2191137 r2761864  
    314314     * @param string $input_id The search input id
    315315     */
    316     public function search_box( $text, $placeholder = '', $input_id ) {
     316    public function search_box( $text, $input_id, $placeholder = '') {
    317317        $where = strtok(Utils::getRealUrl(), "&");
    318318        if ( empty( $_REQUEST['s'] ) && !$this->has_items() )
  • genoo/trunk/libs/WPMKTENGINE/Wordpress/Utils.php

    r1801692 r2761864  
    7979    public static function getRealUrl($withPort = FALSE)
    8080    {
    81         $s = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : "";
     81        $s = empty($_SERVER["HTTPS"]) ? '' : (($_SERVER["HTTPS"] == "on") ? "s" : "");
    8282        $sp = strtolower($_SERVER["SERVER_PROTOCOL"]);
    8383        $protocol = substr($sp, 0, strpos($sp, "/")) . $s;
  • genoo/trunk/readme.txt

    r2635149 r2761864  
    33Tags: marketing automation, email marketing, centralized lead database, lead capture forms
    44Requires at least: 4.6
    5 Tested up to: 5.8.2
     5Tested up to: 6.0.1
    66License: GPLv2 or later
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
    8 Stable tag: 6.0.5
     8Stable tag: 6.0.6
    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.