Any Mobile Theme Switcher
Need to init $return variable in function show_theme_switch_link_func (1 post)

  1. swishstar
    Posted 2 years ago #

    When the desktop switch link variable is off but you've forced the mobile site, then the $return variable is not defined when it is attempted to be used in the function show_theme_switch_link_func.

    The fix is to insert this line:

    right after this line (line 90 in version 1.3):
    $desktopSwitchLink = get_option('show_switch_link_for_desktop');


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic