• On line 144 of wp-sliding-login-dashboard-panel.php there is a missing “else” before the “_e(‘Close’);”. If the user is logged in and the admin has specified custom HTML, it echos a “Close” anyway. Here is what it should be:

    <a id="close" style="display: none;" class="close" href="#"><?php if ($wp_sliding_panel_replace_default) echo $wp_sliding_panel_li_close_label; else _e('Close');?></a>

    The one below it for logged in users on line 206 works correctly.
    Cheers, Sean.

    https://www.ads-software.com/extend/plugins/wp-sliding-logindashboard-panel/

  • The topic ‘[Plugin: WP Sliding Login/Dashboard Panel] An easily fixed bug – missing an else’ is closed to new replies.