Plugin Directory

Changeset 3300223


Ignore:
Timestamp:
05/25/2025 02:00:29 PM (7 months ago)
Author:
tusharimran
Message:

WP Map Block Updated to version 2.0.2

Location:
wp-map-block
Files:
50 added
4 edited

Legend:

Unmodified
Added
Removed
  • wp-map-block/trunk/includes/Admin.php

    r3277623 r3300223  
    99        add_action( 'admin_notices', array($self, 'ablocks_install_notice') );
    1010        add_action( 'admin_init', [ $self, 'ablocks_hide_notice' ] );
     11        $self->dispatch_insights();
    1112    }
    1213
     
    149150        }
    150151    }
     152
     153    public function dispatch_insights() {
     154        Insights::init(
     155            'https://kodezen.com',
     156            WPMAPBLOCK_PLUGIN_SLUG,
     157            'plugin',
     158            WPMAPBLOCK_VERSION,
     159            [
     160                'logo'                 => WPMAPBLOCK_ASSETS_URI . 'images/logo.png', // default logo URL
     161                'optin_message'        => 'Help improve WP Map Block! Allow anonymous usage tracking?',
     162                'deactivation_message' => 'If you have a moment, please share why you are deactivating WP Map Block:',
     163                'deactivation_reasons' => [
     164                    'no_longer_needed'               => [
     165                        'label' => 'I no longer need the plugin',
     166                    ],
     167                    'found_a_better_plugin'          => [
     168                        'label'                     => 'I found a better plugin',
     169                        'has_custom_reason'         => true,
     170                        'custom_reason_placeholder' => 'Please share which plugin',
     171                    ],
     172                    'couldnt_get_the_plugin_to_work' => [
     173                        'label' => 'I couldn\'t get the plugin to work',
     174                    ],
     175                    'temporary_deactivation'         => [
     176                        'label' => 'It\'s a temporary deactivation',
     177                    ],
     178                    'other'                          => [
     179                        'label'                     => 'Other',
     180                        'has_custom_reason'         => true,
     181                        'custom_reason_placeholder' => 'Please share the reason',
     182                    ],
     183                ],
     184            ]
     185        );
     186    }
    151187}
  • wp-map-block/trunk/includes/Block.php

    r3090871 r3300223  
    2727                $value = self::escaping_array_data($value);
    2828            } else {
    29                 $value = esc_attr($value);
     29                $value = esc_attr(wp_kses_post($value));
    3030            }
    3131        }
  • wp-map-block/trunk/readme.txt

    r3277623 r3300223  
    66Tested up to: 6.8
    77Requires PHP: 7.4
    8 Stable tag: 2.0.1
     8Stable tag: 2.0.2
    99License: GPLv3
    1010License URI: https://opensource.org/licenses/GPL-3.0
     
    146146== Changelog ==
    147147
     148= 2.0.2 – 2024-05-25 =
     149- Fixed: Security Issue
     150
     151= 2.0.1 – 2024-04-01 =
     152- Added: WP 6.8 Compatibility
     153
    148154= 2.0.0 – 2024-05-22 =
    149155- Added: aBlocks Compatibility
  • wp-map-block/trunk/wp-map-block.php

    r3277623 r3300223  
    77 * Author: aBlocks - Most Powerful blocks Library
    88 * Author URI: https://ablocks.pro/
    9  * Version: 2.0.1
     9 * Version: 2.0.2
    1010 * License: GPL2+
    1111 * License URI: https://www.gnu.org/licenses/gpl-2.0.txt
     
    3838             * Defines CONSTANTS for Whole plugins.
    3939             */
    40             define('WPMAPBLOCK_VERSION', '2.0.1');
     40            define('WPMAPBLOCK_VERSION', '2.0.2');
    4141            define('WPMAPBLOCK_PLUGIN_FILE', __FILE__);
    4242            define('WPMAPBLOCK_PLUGIN_BASENAME', plugin_basename(__FILE__));
Note: See TracChangeset for help on using the changeset viewer.