WordPress.org

Support

Support » Plugins and Hacks » Display Widgets » [Resolved] Error on options dw_logout and dw_login

[Resolved] Error on options dw_logout and dw_login

  • 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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Error on options dw_logout and dw_login’ is closed to new replies.
Skip to toolbar