Plugin Directory

Changeset 381299


Ignore:
Timestamp:
05/05/2011 01:28:19 PM (15 years ago)
Author:
bmsterling
Message:

Fixed header title not showing/hiding correctly

Location:
dynowidg/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • dynowidg/trunk/DynoWidg.php

    r381074 r381299  
    44 * Plugin URI: http://benjaminsterling.com/wordpress-plugins/dynowidg/
    55 * Description: This plugin will allow you to dynamically add any piece of content to the sidebar as well as give you the ability to limit what pages/sections based on Wordpress' conditionals and/or selecting specific areas to limit.
    6  * Version: 0.1.3
     6 * Version: 0.1.4
    77 * Author: Benjamin Sterling | KenzoMedia
    88 * Author URI: http://kenzomedia.com
  • dynowidg/trunk/common/inc/form.php

    r377618 r381299  
    2323            type="checkbox"
    2424            value="1"
    25             <?php echo ($instance['showheader']==1) ?  ' checked="checked" ':''; ?> />
     25            <?php echo ($instance['showheader']=='1') ?  ' checked="checked" ':''; ?> />
    2626    </p>
    2727
  • dynowidg/trunk/common/inc/widget.php

    r381074 r381299  
    7777       
    7878        $instance = $old_instance;
     79       
     80        if( empty( $new_instance['showheader'] ) ){
     81            $new_instance['showheader'] = '0';
     82        }
    7983
    8084        $new_instance = wp_parse_args(
  • dynowidg/trunk/readme.txt

    r381074 r381299  
    55Requires at least: 3.0
    66Tested up to: 3.1.2
    7 Stable tag: 0.1.3
     7Stable tag: 0.1.4
    88
    99This plugin will allow you to dynamically add any piece of content to the sidebar as well as give you the ability to limit what pages/sections based on Wordpress' conditionals and/or selecting specific areas to limit.
     
    4242
    4343== Changelog ==
     44
     45= 0.1.4 =
     46Fixed header title not showing/hiding correctly
     47
    4448= 0.1.3 =
    4549Fixed class being added not getting appended to the module
Note: See TracChangeset for help on using the changeset viewer.