Typo in lib/functions/admin.php causes plugin CSS to apply dashboard-wide
-
Hi.
One of our theme users noticed our theme’s settings page fails to work properly when using your plugin.
I narrowed the issue down to a typo in the lib/functions/admin.php file which causes the plugin’s styling to apply dashboard-wide.
Line 55:
if($page == 'reservations' || $page== 'reservation-settings' || $page== 'reservation-statistics' || $page=='reservation-resources' ||$page = 'reservation-stream'){ // Only load Styles and Scripts on Reservation Admin Page
is missing the double == in the last condition.
- The topic ‘Typo in lib/functions/admin.php causes plugin CSS to apply dashboard-wide’ is closed to new replies.