WP Sliding Login/Dashboard Panel
An easily fixed bug - missing an else (1 post)

  1. Sean Donovan
    Posted 3 years ago #

    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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Sliding Login/Dashboard Panel
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic