Changeset 3198455
- Timestamp:
- 11/27/2024 08:38:24 PM (16 months ago)
- Location:
- genoo/trunk
- Files:
-
- 4 edited
-
Genoo.php (modified) (1 diff)
-
libs/Genoo/Admin.php (modified) (1 diff)
-
libs/WPMKTENGINE/CTA.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
genoo/trunk/Genoo.php
r3198166 r3198455 6 6 Author URI: http://www.genoo.com/ 7 7 Author Email: info@genoo.com 8 Version: 6.0.1 48 Version: 6.0.15 9 9 License: GPLv2 10 10 Text Domain: genoo -
genoo/trunk/libs/Genoo/Admin.php
r2901505 r3198455 757 757 'type' => 'select', 758 758 'label' => __('Enable Pop-Over to open automatically', 'genoo'), 759 'id' => 'enable_pop_over_to_open_automatically', 759 760 'options' => array('Disable', 'Enable') 760 761 ), -
genoo/trunk/libs/WPMKTENGINE/CTA.php
r2761864 r3198455 189 189 // A 190 190 $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')); 192 192 $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; 193 193 $this->popOverHide = $this->post->getMeta('hide_pop_up_button') == 0 ? TRUE : FALSE; … … 227 227 if(Post::exists($post_id)){ 228 228 $popOver = get_post_meta($post_id, 'enable_pop_over_to_open_automatically', TRUE); 229 return $popOver == 0 ? FALSE : TRUE;229 return !empty($popOver); 230 230 } 231 231 return FALSE; -
genoo/trunk/readme.txt
r3198166 r3198455 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html 8 Stable tag: 6.0.1 48 Stable tag: 6.0.15 9 9 10 10 Combine the flexibility of WordPress with the power of Genoo and experience amazing results!
Note: See TracChangeset
for help on using the changeset viewer.