Support » Plugin: Mad Mimi for WordPress » [Plugin: Mad Mimi for WordPress] 'title'=>true does not work

  • I tried <?php echo madmimi_show_form(array(‘id’=>3, ‘title’=>true)); ?> in my template file but it would not show the title rather it shows 1 instead of the title. I found that when you set title=>true php converts true to “1” (may be due to different config of php) and then the plugin does not meet a condition if(!isset($atts[‘title’]) && strtolower($atts[‘title’]) != ‘false’ && $atts[‘title’] != “0” || strtolower($atts[‘title’]) == ‘true’) you compare near line 385 of madmimi-widget.php hence it shows 1. I think you need to add additional check for this. Right now if i do ‘title’=>’true’ it works fine but not ‘title’=>true.

    http://wordpress.org/extend/plugins/mad-mimi/

  • The topic ‘[Plugin: Mad Mimi for WordPress] 'title'=>true does not work’ is closed to new replies.