WordPress.org

Ready to get started?Download WordPress

Forums

Display Widgets
[resolved] Error on options dw_logout and dw_login (2 posts)

  1. tanguysauvin
    Member
    Posted 1 year ago #

    There is a bug in the update function (in last version downloaded two weeks ago approximately):

    Buggy version:
    if(isset($new_instance['dw_logout']))
    $instance['dw_logout'] = $new_instance['dw_logout'];
    if(isset($new_instance['dw_login']))
    $instance['dw_login'] = $new_instance['dw_login'];

    With this, it works:
    $instance['dw_logout'] = $new_instance['dw_logout'] ? 1 : 0;
    $instance['dw_login'] = $new_instance['dw_login'] ? 1 : 0;

    Tell me if I'm not wrong.

    http://wordpress.org/extend/plugins/display-widgets/

  2. sswells
    Member
    Plugin Author

    Posted 7 months ago #

    That has been updated in v2.0. Sorry for the delay, and thanks for the suggestion.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags