Show only for Logged-out/in users can't be disabled
-
Can you please ASAP update plugin and replace this code (line 267-270):
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 code:
$instance['dw_logout'] = $new_instance['dw_logout'] ? 1 : 0; $instance['dw_login'] = $new_instance['dw_login'] ? 1 : 0;
so when you enable any of both options, you can also disable it later. With current code you can only enable, but not disable this options.
Cheers,
Aleksandar
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Show only for Logged-out/in users can't be disabled’ is closed to new replies.