Plugin Directory

Changeset 2350497


Ignore:
Timestamp:
08/01/2020 04:18:08 PM (6 years ago)
Author:
arena
Message:

version 5.0.1 bugs fixed

Location:
dashpress/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • dashpress/trunk/dashpress.php

    r2306674 r2350497  
    77Requires at least: 5.0
    88Tested up to: 5.4
    9 Version: 5.0
     9Version: 5.0.1
    1010Author URI: http://www.mailpress.org
    1111*/
  • dashpress/trunk/dbp-admin/includes/admin_footer.php

    r2306674 r2350497  
    1616    {
    1717?>
    18             <label for="<?php echo $dbp_box['id']; ?>-dbp"><input type="checkbox"<?php checked( ( $dbp_box['checked'] == '1' ), true ); ?> value="<?php echo esc_attr( $dbp_box['id'] ); ?>" id="<?php  echo $dbp_box['id']; ?>_dbp" name="<?php echo $dbp_box['id']; ?>_dbp" class="hide-dashbox-tog" /><?php echo $dbp_box['title']; ?></label>
     18            <label for="<?php echo $dbp_box['id']; ?>_dbp"><input type="checkbox"<?php checked( ( $dbp_box['checked'] == '1' ), true ); ?> value="<?php echo esc_attr( $dbp_box['id'] ); ?>" id="<?php  echo $dbp_box['id']; ?>_dbp" name="<?php echo $dbp_box['id']; ?>_dbp" class="hide-dashbox-tog" /><?php echo $dbp_box['title']; ?></label>
    1919<?php
    2020    }
  • dashpress/trunk/dbp-admin/js/dbp.js

    r2306674 r2350497  
    235235
    236236        // select/deselect a widget
    237         jQuery( '.hide-dashbox-tog' ).click( function() {
     237        jQuery( '.hide-dashbox-tog' ).change( function() {
    238238
    239239            var box = jQuery( this ).val();
    240             var checked = ( jQuery( this ).attr( 'checked' ) ) ? 1 : 0;
     240            var checked = ( jQuery( this ).prop( 'checked' ) == true ) ? 1 : 0;
    241241
    242242            var parms = { action: 'dbp_ajax', dbp_action: 'update_visible', checked: checked , box: box };
  • dashpress/trunk/readme.txt

    r2311234 r2350497  
    44Tags : Feed, Aggregator, SimplePie, Widget, Dashboard, Wordpress, Plugin, Management
    55Requires at least : 5.0
    6 Tested up to : 5.4
     6Tested up to : 5.5
    77Stable tag : 5.0
    88Requires PHP : 7.0
     
    5555== Changelog ==
    5656
     57= 5.0.1 =
     58
     592020/08/01 bug fix in dashboard options
     60* label id fixed
     61* checkbox checked detection reviewe
     62
    5763= 5.0 =
    5864
Note: See TracChangeset for help on using the changeset viewer.