Plugin Directory

Changeset 1457173


Ignore:
Timestamp:
07/19/2016 08:13:58 PM (10 years ago)
Author:
thrivehive
Message:

Fixing issue with static maps api

Location:
thrivehive/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • thrivehive/trunk/readme.txt

    r1445143 r1457173  
    3535
    3636== Changelog ==
     37* V 1.122 Fixing issues with static maps API
    3738* V 1.121 Forcing a reauth when viewing draft posts if not logged in.
    3839* V 1.120 Fixing bug with header style options and json deserialization
  • thrivehive/trunk/thrivehive.php

    r1445143 r1457173  
    55   *Plugin URI: http://thrivehive.com
    66   *Description: A plugin to include ThriveHive's tracking code
    7    *Version: 1.121
     7   *Version: 1.122
    88   *Author: ThriveHive
    99   *Author URI: http://thrivehive.com
     
    453453  $address = urlencode(str_replace("</br>", " ", get_option('th_company_address')));
    454454  $address = urlencode(str_replace("<br/>", " ", get_option('th_company_address')));
    455   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'></a>";
     455  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>";
    456456}
    457457
Note: See TracChangeset for help on using the changeset viewer.