WordPress.org

Ready to get started?Download WordPress

Forums

Shadowbox JS
SSL-Aware CSS URLs (1 post)

  1. John LeBlanc
    Member
    Posted 2 years ago #

    Since the array returned by wp_upload_dir() doesn't seem to be SSL aware, here is a fix for ShadowboxFrontend::styles() to avoid browser warnings.

    inc/frontend.php line 110:
    $baseurl = ( is_ssl() ) ? str_replace('http://', 'https://', $uploads['baseurl']) : $uploads['baseurl'];

    http://wordpress.org/extend/plugins/shadowbox-js/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic