• Hi,

    Small issue with viewing pages via HTTPS.

    When you use:

    wp_register_script @ line 194
    wp_enqueue_style @ line 322
    wp_enqueue_style @ line 369

    These get blocked when a page is access via https.

    May I suggest using https for the first two, and using site_url() for the third.

    Kind regards,

    Lukasz

    http://wordpress.org/plugins/wp-ui/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ls5302

    (@ls5302)

    or rather home_url().

    Thread Starter ls5302

    (@ls5302)

    The last one is a lot more complicated:

    The URL:

    https://romseyhockey.org.uk/?wpui-css=css&ver=3.6

    results in a 301 redirect to:

    http://romseyhockey.org.uk/?wpui-css=css&ver=3.6

    I have no idea where this is happening in WP. 🙁

    Thread Starter ls5302

    (@ls5302)

    The 301 redirect is being done by the better-wp-security as the “page” http://romseyhockey.org.uk/?wpui-css=css&ver=3.6.

    Thread Starter ls5302

    (@ls5302)

    I have fixed my issue of mixed content ( http / https ) by defining an additional method in the wpUI class.

    <br />
    function wpui_cancel_redirect( $location, $status )<br />
    {<br />
      $query = get_query_var( 'wpui-css' );<br />
      if ( 'css' == $query ) {<br />
        return false;<br />
      }<br />
      else<br />
      {<br />
        return $location;<br />
      }<br />
    }<br />

    and inserting:

    add_filter( 'wp_redirect', array( &$this, 'wpui_cancel_redirect' ), 10, 2 );

    on line 71 in the class constructor.

    This basically cancels wp_redirection when the “wpui-css=css” is in the URL.

    I know this is only an issue with HTTPS enabled pages please consider adding to trunk.

    Kind regards,

    Lucas

    PS Great plugin – which is why I have gone to the effort of this my mixed content issue. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Blocked when using SSL’ is closed to new replies.