WordPress.org

Forums

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

  1. tanguysauvin
    Member
    Posted 2 years 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. Steph Wells
    Member
    Plugin Author

    Posted 1 year 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

  • Display Widgets
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags