• If your site is available over both http and https, then Pagelines serves up some http-only links, which in modern browsers results in errors being logged or displayed (perhaps as a dialog, or perhaps in the address bar as a warning icon) to scare the user (and in future versions may result in content being not displayed at all).

    To correct this, the WP function set_url_scheme() needs adding in this place:

    includes/library.templates.php line 733:
    `
    $logo = apply_filters(‘pagelines_logo_url’, esc_url(ploption(‘pagelines_custom_logo’, $oset) ), $location);
    `

    The problem is also in the CSS output by the less processor. I wasn’t very sure how that was meant to work – it looks like it’s re-generated on every page load? It was the slowest part of my site, so I just hacked an Apache rewrite rule to cache it, and altered the URLs by hand in the cached version.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Not respecting is_ssl()’ is closed to new replies.