PluginProbe
Yatra – Travel Booking & Tour Operator Software / 3.0.16
Yatra – Travel Booking & Tour Operator Software v3.0.16
3.0.16 3.0.15 3.0.14 3.0.14.1 3.0.14.2 3.0.12 3.0.13 3.0.11 3.0.10 3.0.9 3.0.8 3.0.7 3.0.6 3.0.5 3.0.5.1 3.0.4 3.0.3 3.0.2.9 3.0.2.7 3.0.2.8 3.0.2.6 trunk 1.0.0 2.0.0 2.0.1 All 84 releases
← All changes | templates/partials/single-trip/content-location.php +8 -4 3.0.3 → 3.0.16 View file →
@@ -39,12 +39,12 @@
39 39 <!-- Load Leaflet CSS and JS -->
40 40 <link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
41 41 integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY="
42 42 crossorigin=""/>
43 - <script src="https://unpkg.com/[email protected]/dist/leaflet.js"
44 - integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo="
43 + <script src="https://unpkg.com/[email protected]/dist/leaflet.js"
44 + integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo="
45 45 crossorigin=""></script>
46 -
46 +
47 47 <script>
48 48 /**
49 49 * Yatra Trip Map Initialization
50 50 * Renders interactive map with trip route, markers, and directional arrows
@@ -149,9 +149,13 @@
149 149 map.attributionControl.setPrefix('');
150 150
151 151 // Add OpenStreetMap tiles with error handling
152 152 var tileLayer = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
153 - attribution: <?php echo wp_json_encode(sprintf(__('© %s contributors', 'yatra'), '<a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>')); ?>,
153 + attribution: <?php echo wp_json_encode(sprintf(
154 + /* translators: %s: map data provider link (e.g. OpenStreetMap). */
155 + __('© %s contributors', 'yatra'),
156 + '<a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>'
157 + )); ?>,
154 158 maxZoom: 19,
155 159 minZoom: 2,
156 160 errorTileUrl: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==',
157 161 crossOrigin: true