WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Sidebar Login] SSL only site – login not working

[Plugin: Sidebar Login] SSL only site – login not working

Viewing 1 replies (of 1 total)
  • Another related change – this time for anyone that has customised their WordPress with a plugin that forces all WordPress content to SSL for logged in users.

    The following ensures javascript comes from SSL if the page is SSL:

    // Scripts
    	if (is_ssl()) $myPluginURL = str_replace('http://','https://', WP_PLUGIN_URL);
    	wp_register_script('blockui', $myPluginURL . '/sidebar-login/js/blockui.js', array('jquery'), '1.0' );
    	wp_register_script('sidebar-login', $myPluginURL . '/sidebar-login/js/sidebar-login.js', array('jquery', 'blockui'), '1.0' );
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Sidebar Login] SSL only site – login not working’ is closed to new replies.