Changeset 3005519
- Timestamp:
- 12/05/2023 09:07:35 AM (2 years ago)
- Location:
- wp-mapit
- Files:
-
- 8 edited
-
assets/readme.txt (modified) (3 diffs)
-
trunk/index.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/wp_mapit.php (modified) (6 diffs)
-
trunk/wp_mapit/css/wp_mapit_admin.css (modified) (1 diff)
-
trunk/wp_mapit/js/wp_mapit_admin.js (modified) (1 diff)
-
trunk/wp_mapit/js/wp_mapit_admin_multipin.js (modified) (2 diffs)
-
trunk/wp_mapit/js/wp_mapit_admin_settings.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-mapit/assets/readme.txt
r2667234 r3005519 1 1 === WP MapIt === 2 Contributors: phpwebdev, nirikshapatel052 Contributors: chandnipatel, nirikshapatel05 3 3 Donate link: https://www.paypal.me/chandnipatel11 4 4 Tags: wp mapit, maps, map, map marker, map pin, wordpress maps, open street maps, leaflet, free map, map plugin, wp map, no api, map widget, map shortcode, map gutenberg, open source map, osm, open street map, mapit 5 5 Requires at least: 4.2 6 6 License: GPL3 7 Tested up to: 5. 67 Tested up to: 5.9 8 8 Requires PHP: 5.4 9 9 Stable tag: trunk … … 146 146 * Bug fixes 147 147 148 = 3.0 :- 2023-12-05 :- High priority = 149 * Security bug fixes 150 148 151 == Upgrade Notice == 149 152 = 1.1 = … … 167 170 = 2.7 = 168 171 Please update to 2.7 as it includes bug fixes for translation. 172 173 = 3.0 = 174 Please update to 3.0 as it includes security related bug fixes. -
wp-mapit/trunk/index.php
r2059171 r3005519 1 1 <?php 2 3 /* Silence is golden */ 2 /** 3 * Silence is golden. 4 * 5 * @package wp-mapit 6 */ -
wp-mapit/trunk/readme.txt
r2884607 r3005519 1 1 === WP MapIt === 2 Contributors: phpwebdev, nirikshapatel052 Contributors: chandnipatel, nirikshapatel05 3 3 Donate link: https://www.paypal.me/chandnipatel11 4 4 Tags: wp mapit, maps, map, map marker, map pin, wordpress maps, open street maps, leaflet, free map, map plugin, wp map, no api, map widget, map shortcode, map gutenberg, open source map, osm, open street map, mapit 5 5 Requires at least: 4.2 6 6 License: GPL3 7 Tested up to: 6.27 Tested up to: 5.9 8 8 Requires PHP: 5.4 9 9 Stable tag: trunk … … 146 146 * Bug fixes 147 147 148 = 3.0 :- 2023-12-05 :- High priority = 149 * Security bug fixes 150 148 151 == Upgrade Notice == 149 152 = 1.1 = … … 167 170 = 2.7 = 168 171 Please update to 2.7 as it includes bug fixes for translation. 172 173 = 3.0 = 174 Please update to 3.0 as it includes security related bug fixes. -
wp-mapit/trunk/wp_mapit.php
r2667238 r3005519 3 3 * Plugin Name: WP MapIt 4 4 * Plugin URI: http://wp-mapit.chandnipatel.in 5 * Description: WP MapIt is a Word press plugin to display Open street maps using leaflet on your Wordpress site6 * Version: 2.7.15 * Description: WP MapIt is a WordPress plugin to display Open street maps using leaflet on your WordPress site 6 * Version: 3.0.0 7 7 * Author: Chandni Patel 8 8 * Author URI: http://chandnipatel.in/ … … 13 13 * License: GNU General Public License v3.0 14 14 * License URI: http://www.gnu.org/licenses/gpl-3.0.html 15 * 16 * @package wp-mapit 15 17 */ 16 18 … … 18 20 * Exit if accessed directly 19 21 */ 20 if ( ! defined( 'ABSPATH' ) ) {21 die( 'Access Denied');22 if ( ! defined( 'ABSPATH' ) ) { 23 die( 'Access Denied' ); 22 24 } 23 25 … … 25 27 * Define constants used in the plugin 26 28 */ 27 define( 'WP_MAPIT_DIR', plugin_dir_path(__FILE__) . 'wp_mapit/' ); 28 define( 'WP_MAPIT_URL', plugin_dir_url(__FILE__) . 'wp_mapit/' ); 29 define( 'WP_MAPIT_TEXTDOMAIN', 'wp-mapit' ); 29 define( 'WP_MAPIT_DIR', plugin_dir_path( __FILE__ ) . 'wp_mapit/' ); 30 define( 'WP_MAPIT_URL', plugin_dir_url( __FILE__ ) . 'wp_mapit/' ); 30 31 31 32 /** 32 33 * Include the core file of the plugin 33 34 */ 34 require_once (WP_MAPIT_DIR . 'classes/class.wp_mapit.php');35 require_once WP_MAPIT_DIR . 'classes/class-wp-mapit.php'; 35 36 36 if (!function_exists('wp_mapit_init')) {37 if ( ! function_exists( 'wp_mapit_init' ) ) { 37 38 38 39 /** 39 40 * Function to initialize the plugin. 40 * @since 1.0 41 * 42 * @since 1.0 41 43 * @return class object 42 44 */ … … 44 46 45 47 /* Loading the textdomain */ 46 load_plugin_textdomain( 'wp-mapit', FALSE, basename( dirname( __FILE__ ) ) . '/wp_mapit/languages' );48 load_plugin_textdomain( 'wp-mapit', false, basename( dirname( __DIR__ ) ) . '/wp_mapit/languages' ); 47 49 48 50 /* Initialize the base class of the plugin */ 49 return wp_mapit::instance();51 return Wp_Mapit::instance(); 50 52 } 51 53 } … … 54 56 * Create the main object of the plugin when the plugins are loaded 55 57 */ 56 add_action( 'plugins_loaded', 'wp_mapit_init');58 add_action( 'plugins_loaded', 'wp_mapit_init' ); -
wp-mapit/trunk/wp_mapit/css/wp_mapit_admin.css
r2323633 r3005519 204 204 .wp-mapit-row img{ 205 205 max-width: 100px; 206 display: block; 207 margin: 0 0 10px; 206 208 } 207 209 -
wp-mapit/trunk/wp_mapit/js/wp_mapit_admin.js
r2367964 r3005519 225 225 jQuery.ajax( { 226 226 url: wp_mapit.ajax_url, 227 data: 'action=wp_mapit_location_search&q=' + escape( jQuery( '#wpmi_search' ).val() ), 227 data: 'action=wp_mapit_location_search&q=' + 228 escape( jQuery( '#wpmi_search' ).val() ) + 229 '&wp_mapit_ajax=' + wp_mapit.ajax_nonce, 228 230 success: function( data ){ 229 231 data = JSON.parse( data ); -
wp-mapit/trunk/wp_mapit/js/wp_mapit_admin_multipin.js
r2460184 r3005519 206 206 jQuery.ajax( { 207 207 url: wp_mapit.ajax_url, 208 data: 'action=wp_mapit_location_search&q=' + escape( jQuery( '#wpmi_multipin_map_search' ).val() ), 208 data: 'action=wp_mapit_location_search&q=' + escape( jQuery( '#wpmi_multipin_map_search' ).val() ) + 209 '&wp_mapit_ajax=' + wp_mapit.ajax_nonce, 209 210 success: function( data ){ 210 211 data = JSON.parse( data ); … … 368 369 jQuery.ajax( { 369 370 url: wp_mapit.ajax_url, 370 data: 'action=wp_mapit_location_search&q=' + escape( jQuery( '#search_map_' + _counter ).val() ), 371 data: 'action=wp_mapit_location_search&q=' + escape( jQuery( '#search_map_' + _counter ).val() ) + 372 '&wp_mapit_ajax=' + wp_mapit.ajax_nonce, 371 373 success: function( data ){ 372 374 data = JSON.parse( data ); -
wp-mapit/trunk/wp_mapit/js/wp_mapit_admin_settings.js
r2367964 r3005519 109 109 jQuery.ajax( { 110 110 url: wp_mapit.ajax_url, 111 data: 'action=wp_mapit_location_search&q=' + escape( jQuery( '#search_map' ).val() ), 111 data: 'action=wp_mapit_location_search&q=' + escape( jQuery( '#search_map' ).val() ) + 112 '&wp_mapit_ajax=' + wp_mapit.ajax_nonce, 112 113 success: function( data ){ 113 114 data = JSON.parse( data );
Note: See TracChangeset
for help on using the changeset viewer.