Changeset 2787237
- Timestamp:
- 09/19/2022 08:37:59 PM (4 years ago)
- Location:
- ldd-directory-lite/trunk/templates
- Files:
-
- 2 edited
-
single.php (modified) (2 diffs)
-
single2.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ldd-directory-lite/trunk/templates/single.php
r2736617 r2787237 120 120 121 121 </article> 122 122 123 123 <?php if ( ldl_use_google_maps() ): ?> 124 124 … … 126 126 <script> 127 127 function initialize() { 128 var mapLatLng = new google.maps.LatLng(<?php echo $geo['lat']; ?>, <?php echo $geo['lng']; ?>);128 var mapLatLng = new google.maps.LatLng(<?php echo esc_html($geo['lat']); ?>, <?php echo esc_html($geo['lng']); ?>); 129 129 var mapOptions = { 130 130 center: mapLatLng, -
ldd-directory-lite/trunk/templates/single2.php
r2736617 r2787237 122 122 </article> 123 123 124 <?php if ( ldl_use_google_maps() ): ?>124 <?php if ( ldl_use_google_maps() ): ?> 125 125 126 126 127 127 <script> 128 128 function initialize() { 129 var mapLatLng = new google.maps.LatLng(<?php echo $geo['lat']; ?>, <?php echo $geo['lng']; ?>);129 var mapLatLng = new google.maps.LatLng(<?php echo esc_html($geo['lat']); ?>, <?php echo esc_html($geo['lng']); ?>); 130 130 var mapOptions = { 131 131 center: mapLatLng,
Note: See TracChangeset
for help on using the changeset viewer.