Changeset 961397
- Timestamp:
- 08/06/2014 10:44:06 PM (12 years ago)
- Location:
- easy-maps/trunk
- Files:
-
- 2 edited
-
easy-maps.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
easy-maps/trunk/easy-maps.php
r961379 r961397 7 7 * Description: Enhance your posts with Google Maps. Use the Trippy Easy Maps plugin to easily create more dynamic content. 8 8 * Plugin URI: 9 * Version: 1.0. 39 * Version: 1.0.4 10 10 * Author: Team Trippy 11 11 * Author URI: http://www.trippy.com … … 151 151 $html = str_get_html($contentBody); 152 152 153 if ( ! isset( $content_width ) ) {153 if ( ! isset( $content_width ) || $content_width == 0) { 154 154 $content_width = 640; 155 155 } … … 162 162 $content_width = round($content_width/2); 163 163 } 164 164 165 165 $mapWidth = $isAdminMode ? 250 : round($content_width); 166 167 if (!$mapWidth || $mapWidth == 0) { 168 $mapWidth = 640; 169 } 166 170 167 171 $trippyStaticMapUrl = "http://maps.googleapis.com/maps/api/staticmap?key=AIzaSyBzXWNRqto9a4mUXUtCdwt3KLXNsSE9l_0&sensor=false&size=". $mapWidth . "x250"; -
easy-maps/trunk/readme.txt
r961379 r961397 43 43 44 44 == Changelog == 45 = 1.0.4 = 46 * Fixed issue with map with invalid width 47 45 48 = 1.0.3 = 46 49 * Added support for Wordpress 3.5.0
Note: See TracChangeset
for help on using the changeset viewer.