Plugin Directory

Changeset 1914926


Ignore:
Timestamp:
07/25/2018 05:35:36 PM (8 years ago)
Author:
thrivehive
Message:

Using the map button or shortcode breaks SSL

Location:
thrivehive/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • thrivehive/trunk/README.md

    r1914283 r1914926  
    6565
    6666## Update the Subversion Repo - ask somebody for the login creds
     67```
    6768svn co https://plugins.svn.wordpress.org/thrivehive
    6869cp -a ~/thrivehive/repos/warp-prism/. thrivehive/trunk/
     
    7071rm -rf thrivehive/trunk/.git
    7172rm -rf thrivehive/trunk/.gitignore
    72 svn commit -m "mygitbranch" --username $username --password $password
     73svn commit -m "mygitbranch"
     74```
    7375
    7476## Screenshots
  • thrivehive/trunk/lib/snippet_display.php

    r1896065 r1914926  
    7777function th_map(){
    7878    $address = urlencode(str_replace("<br/>", " ", get_option('th_company_address')));
    79     return "<a target='_blank' href='http://maps.google.com/maps?daddr=$address'><img src='http://maps.google.com/maps/api/staticmap?size=375x205&amp;maptype=roadmap&amp;markers=size:mid%7Ccolor:red%7C$address&amp;sensor=false&key=AIzaSyByDkkUYhIDAQ4zc5DuG6_5FG3rYyncRrE'></a>";
     79    return "<a target='_blank' href='//maps.google.com/maps?daddr=$address'><img src='//maps.google.com/maps/api/staticmap?size=375x205&amp;maptype=roadmap&amp;markers=size:mid%7Ccolor:red%7C$address&amp;sensor=false&key=AIzaSyByDkkUYhIDAQ4zc5DuG6_5FG3rYyncRrE'></a>";
    8080}
    8181
Note: See TracChangeset for help on using the changeset viewer.