Changeset 1457173
- Timestamp:
- 07/19/2016 08:13:58 PM (10 years ago)
- Location:
- thrivehive/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
thrivehive.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
thrivehive/trunk/readme.txt
r1445143 r1457173 35 35 36 36 == Changelog == 37 * V 1.122 Fixing issues with static maps API 37 38 * V 1.121 Forcing a reauth when viewing draft posts if not logged in. 38 39 * V 1.120 Fixing bug with header style options and json deserialization -
thrivehive/trunk/thrivehive.php
r1445143 r1457173 5 5 *Plugin URI: http://thrivehive.com 6 6 *Description: A plugin to include ThriveHive's tracking code 7 *Version: 1.12 17 *Version: 1.122 8 8 *Author: ThriveHive 9 9 *Author URI: http://thrivehive.com … … 453 453 $address = urlencode(str_replace("</br>", " ", get_option('th_company_address'))); 454 454 $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&maptype=roadmap&markers=size:mid%7Ccolor:red%7C$address&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&maptype=roadmap&markers=size:mid%7Ccolor:red%7C$address&sensor=false&key=AIzaSyByDkkUYhIDAQ4zc5DuG6_5FG3rYyncRrE'></a>"; 456 456 } 457 457
Note: See TracChangeset
for help on using the changeset viewer.