WordPress.org

Ready to get started?Download WordPress

Forums

WordPress HTTPS (SSL)
Version 2.0.2 will not work with plugin simplemap (5 posts)

  1. lesb55
    Member
    Posted 2 years ago #

    Version 1.9.2 works perfectly with Simplemap (Google maps), but when I update to 2.0.2 my website shows checkout and contact pages as partially secure. Disabling simplemap fixes this.

    Unfortunately this plugin will not load google maps if I make it page specific.

    What has changed in V2.0.2 so it longer forces SSL here?

    http://wordpress.org/extend/plugins/wordpress-https/

  2. Mvied
    Member
    Plugin Author

    Posted 2 years ago #

    Hey lesb55,

    A lot changed at 2.0, so it's possible some changes it logic now prevent it from working. I'll install SimpleMap and see if I can reproduce it.

    Thanks,
    Mike

  3. lesb55
    Member
    Posted 2 years ago #

    Hi Mike,

    Forgot to mention I also have this code loaded in my themes functions.php file:

    add_action( 'wp_print_scripts', 'my_deregister_javascript', 100 );
    
    function my_deregister_javascript() {
       if ( !is_page('Find a Dealer') ) {
    	wp_deregister_script( 'simplemap-google-api' );
         }
    }

    This works fine with Simplemap and WordPress HTTPS V 1.9.2,
    but not with V 2.0.2.

    Thanks for looking into the problem!

  4. lesb55
    Member
    Posted 2 years ago #

    Looked at the page in Google Chrome (as you suggest) and found what was causing the partial encrypted error.
    My functions.php file now looks like this:

    add_action( 'wp_print_scripts', 'my_deregister_javascript', 100 );
    
    function my_deregister_javascript() {
       if ( !is_page('Find a Dealer') ) {
    	wp_deregister_script( 'simplemap-google-api' );
    	wp_deregister_script( 'simplemap-master-js' );
         }
    }

    Hurray! fixed the error and simplemap still works OK

  5. Mvied
    Member
    Plugin Author

    Posted 2 years ago #

    Hey lesb55,

    That's a pretty good idea. :)

    I'd like to add something to WordPress HTTPS that allows you to remove problem elements on secure pages automatically or by choice through some kind of interface.

    I'm still looking into why it may have worked in the previous version and not the latest.

    Thanks,
    Mike

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic