Plugin Directory

Changeset 2787237


Ignore:
Timestamp:
09/19/2022 08:37:59 PM (4 years ago)
Author:
lddwebdesign
Message:

3.4 release

Location:
ldd-directory-lite/trunk/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ldd-directory-lite/trunk/templates/single.php

    r2736617 r2787237  
    120120
    121121        </article>
    122             
     122           
    123123        <?php if ( ldl_use_google_maps() ): ?>
    124124       
     
    126126        <script>
    127127            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']); ?>);
    129129                var mapOptions = {
    130130                    center: mapLatLng,
  • ldd-directory-lite/trunk/templates/single2.php

    r2736617 r2787237  
    122122        </article>
    123123           
    124         <?php if ( ldl_use_google_maps() ): ?>
     124        <?php if ( ldl_use_google_maps() ):  ?>
    125125       
    126126       
    127127        <script>
    128128            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']); ?>);
    130130                var mapOptions = {
    131131                    center: mapLatLng,
Note: See TracChangeset for help on using the changeset viewer.