Plugin Directory

Changeset 3377053


Ignore:
Timestamp:
10/12/2025 05:52:27 PM (6 months ago)
Author:
mihdan
Message:

Update to version 1.7.0 from GitHub

Location:
mihdan-elementor-yandex-maps
Files:
18 edited
1 copied

Legend:

Unmodified
Added
Removed
  • mihdan-elementor-yandex-maps/tags/1.7.0/frontend/js/mihdan-elementor-yandex-maps.js

    r3056305 r3377053  
    102102            setTimeout( lazyLoad, timeout );
    103103
     104            if (w['ymaps_ready_' + map_id]) {
     105                return;
     106            }
     107
    104108            w['ymaps_ready_' + map_id] = function () {
    105109
  • mihdan-elementor-yandex-maps/tags/1.7.0/includes/class-acf-tag.php

    r2464760 r3377053  
    3636     * Register controls.
    3737     */
    38     protected function _register_controls() {
     38    protected function register_controls() {
    3939        $this->add_control(
    4040            'fields',
  • mihdan-elementor-yandex-maps/tags/1.7.0/includes/class-widget.php

    r3068608 r3377053  
    10171017                        ),
    10181018                        'fields'      => $pin_repeater->get_controls(),
    1019                         'title_field' => '{{{ balloon_content_header }}}',
     1019                        'title_field' => '{{ balloon_content_header }}',
    10201020                    )
    10211021                );
     
    13831383                        'point_lat'              => $this->calculate_dynamic_content( 'points_source_post_type_lat', $settings, $point->ID ),
    13841384                        'point_lng'              => $this->calculate_dynamic_content( 'points_source_post_type_lng', $settings, $point->ID ),
    1385                         'balloon_content_header' => $this->calculate_dynamic_content( 'points_source_post_type_balloon_content_header', $settings, $point->ID ),
    1386                         'balloon_content_body'   => apply_shortcodes( $balloon_content_body ),
    1387                         'balloon_content_footer' => $balloon_content_footer,
    1388                         'icon_caption'           => $icon_caption,
    1389                         'icon_content'           => $icon_content,
    1390                         'hint_content'           => $hint_content,
     1385                        'balloon_content_header' => wp_kses_post( $this->calculate_dynamic_content( 'points_source_post_type_balloon_content_header', $settings, $point->ID ) ),
     1386                        'balloon_content_body'   => wp_kses_post( apply_shortcodes( $balloon_content_body ) ),
     1387                        'balloon_content_footer' => wp_kses_post( $balloon_content_footer ),
     1388                        'icon_caption'           => wp_kses_post( $icon_caption ),
     1389                        'icon_content'           => wp_kses_post( $icon_content ),
     1390                        'hint_content'           => wp_kses_post( $hint_content ),
    13911391                        'icon_color'             => $settings['points_source_post_type_icon_color'],
    13921392                        'icon_type'              => $settings['points_source_post_type_icon_type'],
     
    14351435                ),
    14361436                'properties' => array(
    1437                     'iconCaption'          => $item['icon_caption'],
    1438                     'iconContent'          => $item['icon_content'],
    1439                     'hintContent'          => $item['hint_content'],
    1440                     'balloonContentHeader' => $balloon_content_header,
    1441                     'balloonContentFooter' => $item['balloon_content_footer'],
    1442                     'balloonContentBody'   => apply_shortcodes( $balloon_content_body ),
     1437                    'iconCaption'          => wp_kses_post( $item['icon_caption'] ),
     1438                    'iconContent'          => wp_kses_post( $item['icon_content'] ),
     1439                    'hintContent'          => wp_kses_post( $item['hint_content'] ),
     1440                    'balloonContentHeader' => wp_kses_post( $balloon_content_header ),
     1441                    'balloonContentFooter' => wp_kses_post( $item['balloon_content_footer'] ),
     1442                    'balloonContentBody'   => wp_kses_post( apply_shortcodes( $balloon_content_body ) ),
    14431443                ),
    14441444                'options'    => array(
  • mihdan-elementor-yandex-maps/tags/1.7.0/mihdan-elementor-yandex-maps.php

    r3080027 r3377053  
    44 * Description: Easily add multiple address pins onto the same map with support for different map types (Road Map/Satellite/Hybrid/Terrain) and custom map style. Freely edit info window content of your pins with the standard Elementor text editor. And many more custom map options.
    55 * Plugin URI:  https://wordpress.org/plugins/mihdan-elementor-yandex-maps/
    6  * Version:     1.6.11
     6 * Version:     1.7.0
    77 * Author:      Mikhail Kobzarev
    88 * Author URI:  https://www.kobzarev.com/
    99 * Text Domain: mihdan-elementor-yandex-maps
    1010 * GitHub Plugin URI: https://github.com/mihdan/mihdan-elementor-yandex-maps
    11  * Elementor tested up to: 3.21.4
    12  * Elementor Pro tested up to: 3.21.2
     11 * Elementor tested up to: 3.32.4
     12 * Elementor Pro tested up to: 3.32.1
    1313 * Requires Plugins: elementor
    1414 * License: GPL v2 or later
     
    3737 * @since 1.3
    3838 */
    39 define( 'MIHDAN_ELEMENTOR_YANDEX_MAPS_VERSION', '1.6.11' );
     39define( 'MIHDAN_ELEMENTOR_YANDEX_MAPS_VERSION', '1.7.0' );
    4040
    4141static $mihdan_elementor_yandex_maps;
  • mihdan-elementor-yandex-maps/tags/1.7.0/readme.txt

    r3080027 r3377053  
    55License URI: https://www.gnu.org/licenses/gpl-2.0.html
    66Donate link: https://www.kobzarev.com/donate/
    7 Requires at least: 5.8
    8 Tested up to: 6.5
     7Requires at least: 6.6
     8Tested up to: 6.8
    99Requires PHP: 7.4
    10 Stable tag: 1.6.11
     10Stable tag: 1.7.0
    1111
    1212Yandex Maps widget for Elementor
     
    3232
    3333== Changelog ==
     34
     35= 1.7.0 (12.10.2025) =
     36* Added support for WordPress 6.8+
     37* Added support for Elementor 3.32+
     38* Added support for Elementor Pro 3.32+
     39* Fixed: Cannot read properties of undefined (reading 'desktop')
    3440
    3541= 1.6.11 (01.05.2024) =
  • mihdan-elementor-yandex-maps/tags/1.7.0/vendor/autoload.php

    r3006848 r3377053  
    1515        }
    1616    }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
     17    throw new RuntimeException($err);
    2118}
    2219
  • mihdan-elementor-yandex-maps/tags/1.7.0/vendor/composer/InstalledVersions.php

    r2905356 r3377053  
    2828{
    2929    /**
     30     * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to
     31     * @internal
     32     */
     33    private static $selfDir = null;
     34
     35    /**
    3036     * @var mixed[]|null
    3137     * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null
    3238     */
    3339    private static $installed;
     40
     41    /**
     42     * @var bool
     43     */
     44    private static $installedIsLocalDir;
    3445
    3546    /**
     
    310321        self::$installed = $data;
    311322        self::$installedByVendor = array();
     323
     324        // when using reload, we disable the duplicate protection to ensure that self::$installed data is
     325        // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not,
     326        // so we have to assume it does not, and that may result in duplicate data being returned when listing
     327        // all installed packages for example
     328        self::$installedIsLocalDir = false;
     329    }
     330
     331    /**
     332     * @return string
     333     */
     334    private static function getSelfDir()
     335    {
     336        if (self::$selfDir === null) {
     337            self::$selfDir = strtr(__DIR__, '\\', '/');
     338        }
     339
     340        return self::$selfDir;
    312341    }
    313342
     
    323352
    324353        $installed = array();
     354        $copiedLocalDir = false;
    325355
    326356        if (self::$canGetVendors) {
     357            $selfDir = self::getSelfDir();
    327358            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
     359                $vendorDir = strtr($vendorDir, '\\', '/');
    328360                if (isset(self::$installedByVendor[$vendorDir])) {
    329361                    $installed[] = self::$installedByVendor[$vendorDir];
     
    331363                    /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
    332364                    $required = require $vendorDir.'/composer/installed.php';
    333                     $installed[] = self::$installedByVendor[$vendorDir] = $required;
    334                     if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
    335                         self::$installed = $installed[count($installed) - 1];
     365                    self::$installedByVendor[$vendorDir] = $required;
     366                    $installed[] = $required;
     367                    if (self::$installed === null && $vendorDir.'/composer' === $selfDir) {
     368                        self::$installed = $required;
     369                        self::$installedIsLocalDir = true;
    336370                    }
     371                }
     372                if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) {
     373                    $copiedLocalDir = true;
    337374                }
    338375            }
     
    351388        }
    352389
    353         if (self::$installed !== array()) {
     390        if (self::$installed !== array() && !$copiedLocalDir) {
    354391            $installed[] = self::$installed;
    355392        }
  • mihdan-elementor-yandex-maps/tags/1.7.0/vendor/composer/installed.php

    r3080027 r3377053  
    22    'root' => array(
    33        'name' => 'mihdan/elementor-yandex-maps',
    4         'pretty_version' => '1.6.11',
    5         'version' => '1.6.11.0',
    6         'reference' => '9a1f6b9a64d5c139a60fd2fcd4c0280f65e9d1db',
     4        'pretty_version' => '1.7.0',
     5        'version' => '1.7.0.0',
     6        'reference' => 'e1eabf80f5f29dd6b5a9eb8f01f74daab0256043',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'mihdan/elementor-yandex-maps' => array(
    14             'pretty_version' => '1.6.11',
    15             'version' => '1.6.11.0',
    16             'reference' => '9a1f6b9a64d5c139a60fd2fcd4c0280f65e9d1db',
     14            'pretty_version' => '1.7.0',
     15            'version' => '1.7.0.0',
     16            'reference' => 'e1eabf80f5f29dd6b5a9eb8f01f74daab0256043',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • mihdan-elementor-yandex-maps/tags/1.7.0/vendor/composer/platform_check.php

    r2464760 r3377053  
    2020        }
    2121    }
    22     trigger_error(
    23         'Composer detected issues in your platform: ' . implode(' ', $issues),
    24         E_USER_ERROR
     22    throw new \RuntimeException(
     23        'Composer detected issues in your platform: ' . implode(' ', $issues)
    2524    );
    2625}
  • mihdan-elementor-yandex-maps/trunk/frontend/js/mihdan-elementor-yandex-maps.js

    r3056305 r3377053  
    102102            setTimeout( lazyLoad, timeout );
    103103
     104            if (w['ymaps_ready_' + map_id]) {
     105                return;
     106            }
     107
    104108            w['ymaps_ready_' + map_id] = function () {
    105109
  • mihdan-elementor-yandex-maps/trunk/includes/class-acf-tag.php

    r2464760 r3377053  
    3636     * Register controls.
    3737     */
    38     protected function _register_controls() {
     38    protected function register_controls() {
    3939        $this->add_control(
    4040            'fields',
  • mihdan-elementor-yandex-maps/trunk/includes/class-widget.php

    r3068608 r3377053  
    10171017                        ),
    10181018                        'fields'      => $pin_repeater->get_controls(),
    1019                         'title_field' => '{{{ balloon_content_header }}}',
     1019                        'title_field' => '{{ balloon_content_header }}',
    10201020                    )
    10211021                );
     
    13831383                        'point_lat'              => $this->calculate_dynamic_content( 'points_source_post_type_lat', $settings, $point->ID ),
    13841384                        'point_lng'              => $this->calculate_dynamic_content( 'points_source_post_type_lng', $settings, $point->ID ),
    1385                         'balloon_content_header' => $this->calculate_dynamic_content( 'points_source_post_type_balloon_content_header', $settings, $point->ID ),
    1386                         'balloon_content_body'   => apply_shortcodes( $balloon_content_body ),
    1387                         'balloon_content_footer' => $balloon_content_footer,
    1388                         'icon_caption'           => $icon_caption,
    1389                         'icon_content'           => $icon_content,
    1390                         'hint_content'           => $hint_content,
     1385                        'balloon_content_header' => wp_kses_post( $this->calculate_dynamic_content( 'points_source_post_type_balloon_content_header', $settings, $point->ID ) ),
     1386                        'balloon_content_body'   => wp_kses_post( apply_shortcodes( $balloon_content_body ) ),
     1387                        'balloon_content_footer' => wp_kses_post( $balloon_content_footer ),
     1388                        'icon_caption'           => wp_kses_post( $icon_caption ),
     1389                        'icon_content'           => wp_kses_post( $icon_content ),
     1390                        'hint_content'           => wp_kses_post( $hint_content ),
    13911391                        'icon_color'             => $settings['points_source_post_type_icon_color'],
    13921392                        'icon_type'              => $settings['points_source_post_type_icon_type'],
     
    14351435                ),
    14361436                'properties' => array(
    1437                     'iconCaption'          => $item['icon_caption'],
    1438                     'iconContent'          => $item['icon_content'],
    1439                     'hintContent'          => $item['hint_content'],
    1440                     'balloonContentHeader' => $balloon_content_header,
    1441                     'balloonContentFooter' => $item['balloon_content_footer'],
    1442                     'balloonContentBody'   => apply_shortcodes( $balloon_content_body ),
     1437                    'iconCaption'          => wp_kses_post( $item['icon_caption'] ),
     1438                    'iconContent'          => wp_kses_post( $item['icon_content'] ),
     1439                    'hintContent'          => wp_kses_post( $item['hint_content'] ),
     1440                    'balloonContentHeader' => wp_kses_post( $balloon_content_header ),
     1441                    'balloonContentFooter' => wp_kses_post( $item['balloon_content_footer'] ),
     1442                    'balloonContentBody'   => wp_kses_post( apply_shortcodes( $balloon_content_body ) ),
    14431443                ),
    14441444                'options'    => array(
  • mihdan-elementor-yandex-maps/trunk/mihdan-elementor-yandex-maps.php

    r3080027 r3377053  
    44 * Description: Easily add multiple address pins onto the same map with support for different map types (Road Map/Satellite/Hybrid/Terrain) and custom map style. Freely edit info window content of your pins with the standard Elementor text editor. And many more custom map options.
    55 * Plugin URI:  https://wordpress.org/plugins/mihdan-elementor-yandex-maps/
    6  * Version:     1.6.11
     6 * Version:     1.7.0
    77 * Author:      Mikhail Kobzarev
    88 * Author URI:  https://www.kobzarev.com/
    99 * Text Domain: mihdan-elementor-yandex-maps
    1010 * GitHub Plugin URI: https://github.com/mihdan/mihdan-elementor-yandex-maps
    11  * Elementor tested up to: 3.21.4
    12  * Elementor Pro tested up to: 3.21.2
     11 * Elementor tested up to: 3.32.4
     12 * Elementor Pro tested up to: 3.32.1
    1313 * Requires Plugins: elementor
    1414 * License: GPL v2 or later
     
    3737 * @since 1.3
    3838 */
    39 define( 'MIHDAN_ELEMENTOR_YANDEX_MAPS_VERSION', '1.6.11' );
     39define( 'MIHDAN_ELEMENTOR_YANDEX_MAPS_VERSION', '1.7.0' );
    4040
    4141static $mihdan_elementor_yandex_maps;
  • mihdan-elementor-yandex-maps/trunk/readme.txt

    r3080027 r3377053  
    55License URI: https://www.gnu.org/licenses/gpl-2.0.html
    66Donate link: https://www.kobzarev.com/donate/
    7 Requires at least: 5.8
    8 Tested up to: 6.5
     7Requires at least: 6.6
     8Tested up to: 6.8
    99Requires PHP: 7.4
    10 Stable tag: 1.6.11
     10Stable tag: 1.7.0
    1111
    1212Yandex Maps widget for Elementor
     
    3232
    3333== Changelog ==
     34
     35= 1.7.0 (12.10.2025) =
     36* Added support for WordPress 6.8+
     37* Added support for Elementor 3.32+
     38* Added support for Elementor Pro 3.32+
     39* Fixed: Cannot read properties of undefined (reading 'desktop')
    3440
    3541= 1.6.11 (01.05.2024) =
  • mihdan-elementor-yandex-maps/trunk/vendor/autoload.php

    r3006848 r3377053  
    1515        }
    1616    }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
     17    throw new RuntimeException($err);
    2118}
    2219
  • mihdan-elementor-yandex-maps/trunk/vendor/composer/InstalledVersions.php

    r2905356 r3377053  
    2828{
    2929    /**
     30     * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to
     31     * @internal
     32     */
     33    private static $selfDir = null;
     34
     35    /**
    3036     * @var mixed[]|null
    3137     * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null
    3238     */
    3339    private static $installed;
     40
     41    /**
     42     * @var bool
     43     */
     44    private static $installedIsLocalDir;
    3445
    3546    /**
     
    310321        self::$installed = $data;
    311322        self::$installedByVendor = array();
     323
     324        // when using reload, we disable the duplicate protection to ensure that self::$installed data is
     325        // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not,
     326        // so we have to assume it does not, and that may result in duplicate data being returned when listing
     327        // all installed packages for example
     328        self::$installedIsLocalDir = false;
     329    }
     330
     331    /**
     332     * @return string
     333     */
     334    private static function getSelfDir()
     335    {
     336        if (self::$selfDir === null) {
     337            self::$selfDir = strtr(__DIR__, '\\', '/');
     338        }
     339
     340        return self::$selfDir;
    312341    }
    313342
     
    323352
    324353        $installed = array();
     354        $copiedLocalDir = false;
    325355
    326356        if (self::$canGetVendors) {
     357            $selfDir = self::getSelfDir();
    327358            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
     359                $vendorDir = strtr($vendorDir, '\\', '/');
    328360                if (isset(self::$installedByVendor[$vendorDir])) {
    329361                    $installed[] = self::$installedByVendor[$vendorDir];
     
    331363                    /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
    332364                    $required = require $vendorDir.'/composer/installed.php';
    333                     $installed[] = self::$installedByVendor[$vendorDir] = $required;
    334                     if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
    335                         self::$installed = $installed[count($installed) - 1];
     365                    self::$installedByVendor[$vendorDir] = $required;
     366                    $installed[] = $required;
     367                    if (self::$installed === null && $vendorDir.'/composer' === $selfDir) {
     368                        self::$installed = $required;
     369                        self::$installedIsLocalDir = true;
    336370                    }
     371                }
     372                if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) {
     373                    $copiedLocalDir = true;
    337374                }
    338375            }
     
    351388        }
    352389
    353         if (self::$installed !== array()) {
     390        if (self::$installed !== array() && !$copiedLocalDir) {
    354391            $installed[] = self::$installed;
    355392        }
  • mihdan-elementor-yandex-maps/trunk/vendor/composer/installed.php

    r3080027 r3377053  
    22    'root' => array(
    33        'name' => 'mihdan/elementor-yandex-maps',
    4         'pretty_version' => '1.6.11',
    5         'version' => '1.6.11.0',
    6         'reference' => '9a1f6b9a64d5c139a60fd2fcd4c0280f65e9d1db',
     4        'pretty_version' => '1.7.0',
     5        'version' => '1.7.0.0',
     6        'reference' => 'e1eabf80f5f29dd6b5a9eb8f01f74daab0256043',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'mihdan/elementor-yandex-maps' => array(
    14             'pretty_version' => '1.6.11',
    15             'version' => '1.6.11.0',
    16             'reference' => '9a1f6b9a64d5c139a60fd2fcd4c0280f65e9d1db',
     14            'pretty_version' => '1.7.0',
     15            'version' => '1.7.0.0',
     16            'reference' => 'e1eabf80f5f29dd6b5a9eb8f01f74daab0256043',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • mihdan-elementor-yandex-maps/trunk/vendor/composer/platform_check.php

    r2464760 r3377053  
    2020        }
    2121    }
    22     trigger_error(
    23         'Composer detected issues in your platform: ' . implode(' ', $issues),
    24         E_USER_ERROR
     22    throw new \RuntimeException(
     23        'Composer detected issues in your platform: ' . implode(' ', $issues)
    2524    );
    2625}
Note: See TracChangeset for help on using the changeset viewer.