Skip to content

SSL Error #15

@wealthbridge

Description

@wealthbridge

This plugin is loading http on an https page.

The bug is on line 58 of the page global-javascript.php.

The fix is pretty simple, just replace that line with these two:

$baseURL = (!is_ssl() ? $wp_upload_dir['baseurl'] : str_replace('http://','https://',$wp_upload_dir['baseurl']));
$this->url_to_js = trailingslashit( $baseURL ) . "global-js/";

Great job on the plugin and thanks for building it!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions