Plugin Directory

Changeset 3045108


Ignore:
Timestamp:
03/04/2024 02:40:32 PM (2 years ago)
Author:
yhunter
Message:

plugin update

Location:
yamaps
Files:
1 edited
9 copied

Legend:

Unmodified
Added
Removed
  • yamaps/trunk/yamap.php

    r2849437 r3045108  
    66 * Author URI:  www.yhunter.ru
    77 * Author:      Yuri Baranov
    8  * Version:     0.6.26
     8 * Version:     0.6.27
    99 *
    1010 *
     
    9494        }
    9595        if ($noFooter) {
    96             return 'https://api-maps.yandex.ru/2.1/?lang='.esc_html($maplocale).esc_html($apikey);
     96            $AltApiSrc = 'https://api-maps.yandex.ru/2.1/?lang='.esc_html($maplocale).esc_html($apikey).'&ver=2.1';
     97            $AltApiSrc = str_replace("&", "&", $AltApiSrc);
     98            return $AltApiSrc;
    9799        }
    98100        else {
Note: See TracChangeset for help on using the changeset viewer.