Plugin Directory

Changeset 2654568


Ignore:
Timestamp:
01/08/2022 03:02:13 PM (4 years ago)
Author:
rajivlodhia
Message:

1.0.2 bug fixes

Location:
acf-google-map-field-multiple-markers/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • acf-google-map-field-multiple-markers/trunk/acf-google-map-multi.php

    r2593301 r2654568  
    22
    33/*
    4 Plugin Name: ACF: Google Map Field (Multiple Markers)
     4Plugin Name: ACF: Google Maps Field (Multiple Markers)
    55Plugin URI: https://wordpress.org/plugins/acf-google-map-field-multiple-markers/
    66Description: A Google Map field that allows you to add multiple markers to it.
    7 Version: 1.0.1
     7Version: 1.0.2
    88Author: Rajiv Lodhia
    99Author URI: https://rajivlodhia.com
     
    1616
    1717// Define constants.
    18 define( 'GMM_PLUGIN_BASE_NAME', plugin_basename( __FILE__ ) );
    19 define( 'GMM_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
    20 define( 'GMM_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
    21 define( 'GMM_PLUGIN_FILE', __FILE__ );
    22 define( 'GMM_TEXTDOMAIN', 'acf-google-map-multi' );
     18if (!defined('GMM_PLUGIN_BASE_NAME')) define( 'GMM_PLUGIN_BASE_NAME', plugin_basename( __FILE__ ) );
     19if (!defined('GMM_PLUGIN_PATH')) define( 'GMM_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
     20if (!defined('GMM_PLUGIN_URL')) define( 'GMM_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
     21if (!defined('GMM_PLUGIN_FILE')) define( 'GMM_PLUGIN_FILE', __FILE__ );
     22if (!defined('GMM_TEXTDOMAIN')) define( 'GMM_TEXTDOMAIN', 'acf-google-map-multi' );
    2323
    2424// check if class already exists
     
    4949            // - these will be passed into the field class.
    5050            $this->settings = array(
    51                 'version' => '1.0.1',
     51                'version' => '1.0.2',
    5252                'url'     => GMM_PLUGIN_URL,
    5353                'path'    => GMM_PLUGIN_PATH,
  • acf-google-map-field-multiple-markers/trunk/assets/js/input.js

    r2574196 r2654568  
    263263                map.setZoom(8);
    264264                map.setCenter( {lat: 51.4934, lng: 0.0098} );
     265
     266                // Reset our vals storage for the new field with no data yet.
     267                this.vals = [];
    265268            }
    266269
  • acf-google-map-field-multiple-markers/trunk/fields/class-gmm-acf-field-google-map-multi-v5.php

    r2574196 r2654568  
    3737        */
    3838       
    39         $this->label = __('Google Map (Multiple Markers)', GMM_TEXTDOMAIN);
     39        $this->label = __('Google Maps (Multiple Markers)', GMM_TEXTDOMAIN);
    4040       
    4141       
     
    645645// class_exists check
    646646endif;
    647 
    648 ?>
  • acf-google-map-field-multiple-markers/trunk/readme.txt

    r2593110 r2654568  
    1 === ACF: Google Map Field (Multiple Markers) ===
     1=== ACF: Google Maps Field (Multiple Markers) ===
    22Contributors: Rajiv Lodhia
    3 Tags: acf, custom fields, advanced custom fields, google maps, maps
     3Tags: acf, custom fields, advanced custom fields, google maps, maps, markers
    44Requires at least: 4.7
    55Tested up to: 5.8
    66Requires PHP: 5.6
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010
    11 A Google Map field for ACF that allows you to add multiple markers to one single map.
     11A Google Maps field for ACF that allows you to add multiple markers to one single map.
    1212
    1313== Description ==
     
    3333== Usage Instructions ==
    3434
    35 On the new Google Map (Multiple Markers) field, you can:
     35On the new Google Maps (Multiple Markers) field, you can:
    3636- LEFT CLICK on the map to place a new marker
    3737- RIGHT CLICK on a marker to remove it
     
    6565* Updated readme.
    6666* Tested with newest version of WordPress.
     67
     68= 1.0.2 =
     69* Fixed bug where the field value wouldn't properly reset when adding a new marker.
     70* Changed name from "Google Map" to "Google Maps"
Note: See TracChangeset for help on using the changeset viewer.