WordPress.org

Ready to get started?Download WordPress

Forums

TubePress
SOLVED: TubePress + SSL Conflict (2 posts)

  1. chriseverson
    Member
    Posted 3 years ago #

    When using SSL with WordPress, TubePress causes an error by defining the JS src links absolutely using http://

    Working on a fix now, will update when complete.

    Relevant to eCommerce plugin users.

  2. chriseverson
    Member
    Posted 3 years ago #

    SOLUTION:

    in tubepress.php add the following after $tubepress_base_url = get_option('siteurl') . "/wp-content/plugins/$baseName";

    // Modification to Allow SSL by Chris Everson (http://chriseverson.net)
        if($_SERVER['HTTPS']) {
        	$tubepress_base_url = str_replace("http:","https:",$tubepress_base_url);
        }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags