geodir_review_rating/css/style.css doesn't load when using https

This topic contains 2 replies, has 2 voices, and was last updated by  Lynne Koyamatsu 7 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #256949

    Lynne Koyamatsu
    Expired Member
    Post count: 7

    Hi,
    When viewing the site with https, I’m not getting the style sheet for the reviews section of the listing details. The console shows this error:

    Mixed Content: The page at ‘https://xxx.yyy.com/places/united-states/washington/seattle/westlake-center/#reviews’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://bapp.wpengine.com/wp-content/plugins/geodir_review_rating_manager/css/style.css?ver=4.5.3’. This request has been blocked; the content must be served over HTTPS.

    Looking at the geodir review manager code, it is using WP_PLUGIN_URL, which reportedly doesn’t work when using ssl/https urls. (see https://wordpress.org/ideas/topic/wp_plugin_url-doesnt-take-ssl-into-account)

    For a temporary fix, I’ve patched the geodir code to use the plugin_dir_url function rather than WP_PLUGIN_URL as follows:

    define( ‘GEODIR_REVIEWRATING_PLUGINDIR_URL’, plugin_dir_url( __FILE__ ) );

    But, would like to see this fixed and released.

    Thanks,
    Lynne

    #256958

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #257061

    Lynne Koyamatsu
    Expired Member
    Post count: 7

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket