Plugin Directory

Changeset 3198455


Ignore:
Timestamp:
11/27/2024 08:38:24 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

    r3198166 r3198455  
    66    Author URI: http://www.genoo.com/
    77    Author Email: info@genoo.com
    8     Version: 6.0.14
     8    Version: 6.0.15
    99    License: GPLv2
    1010    Text Domain: genoo
  • genoo/trunk/libs/Genoo/Admin.php

    r2901505 r3198455  
    757757                        'type' => 'select',
    758758                        'label' => __('Enable Pop-Over to open automatically', 'genoo'),
     759                        'id' => 'enable_pop_over_to_open_automatically',
    759760                        'options' => array('Disable', 'Enable')
    760761                    ),
  • genoo/trunk/libs/WPMKTENGINE/CTA.php

    r2761864 r3198455  
    189189        // A
    190190        $k = ($z == '0' || empty($z)) ? false : true;
    191         $this->isPopOver = $this->post->getMeta('enable_pop_up_to_open_automatically') == 0 ? FALSE : TRUE;
     191        $this->isPopOver = !empty($this->post->getMeta('enable_pop_over_to_open_automatically'));
    192192        $this->popOverTime = $this->post->getMeta('number_of_seconds_to_open_the_pop_up_after') ? (int)$this->post->getMeta('number_of_seconds_to_open_the_pop_up_after') : 0;
    193193        $this->popOverHide = $this->post->getMeta('hide_pop_up_button') == 0 ? TRUE : FALSE;
     
    227227        if(Post::exists($post_id)){
    228228            $popOver = get_post_meta($post_id, 'enable_pop_over_to_open_automatically', TRUE);
    229             return $popOver == 0 ? FALSE : TRUE;
     229            return !empty($popOver);
    230230        }
    231231        return FALSE;
  • genoo/trunk/readme.txt

    r3198166 r3198455  
    66License: GPLv2 or later
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
    8 Stable tag: 6.0.14
     8Stable tag: 6.0.15
    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.