Plugin Directory

Changeset 2618111


Ignore:
Timestamp:
10/22/2021 04:36:11 AM (4 years ago)
Author:
divisupreme
Message:

1.0.3 update

Location:
supreme-maps
Files:
50 added
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • supreme-maps/trunk/includes/class-supreme-maps.php

    r2616284 r2618111  
    125125        // Load frontend JS & CSS.
    126126        add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles' ), 10 );
    127         add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ), 10 );
     127        add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ), 20 );
    128128
    129129        // Load admin JS & CSS.
     
    217217        wp_register_script( $this->_token . '-frontend', esc_url( $this->assets_url ) . 'js/frontend' . $this->script_suffix . '.js', array( 'jquery' ), $this->_version, true );
    218218        // wp_enqueue_script( $this->_token . '-frontend' );.
     219        wp_dequeue_script( 'supreme-maps-frontend-bundle' );
    219220        wp_register_script( $this->_token . '-leaflet', esc_url( $this->assets_url ) . 'leaflet/leaflet.js', array( 'jquery' ), $this->_version, true );
    220221        wp_register_script( $this->_token . '-leaflet-clustering', esc_url( $this->assets_url ) . 'leaflet/leaflet.markercluster.js', array( 'supreme_maps-leaflet' ), $this->_version, true );
  • supreme-maps/trunk/includes/modules/LeafletMap/LeafletMap.php

    r2616284 r2618111  
    561561            }
    562562        }
     563        wp_enqueue_script( 'supreme-maps-frontend-bundle' );
    563564        wp_dequeue_script( 'google-maps-api' );
    564565        wp_deregister_script( 'google-maps-api' );
  • supreme-maps/trunk/readme.txt

    r2616284 r2618111  
    55Tested up to: 5.8.1
    66Requires PHP: 7.0
    7 Stable tag: 1.0.2
     7Stable tag: 1.0.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1313
    1414Divi Supreme Maps provides the power you need to create and manage customized maps quickly and easily. Take your websites to the next level with robust control over style and functionality. This completely free plugin integrates smoothly with OpenStreetMap & Leaflet Maps (Google & Bing coming soon).
     15
    1516With a simple interface and a great builder, you can design interactive maps that match your website’s style and exceed your customers’ expectations. Add fully responsive full-screen or fixed-width maps. Use unlimited markers/pins to showcase multiple locations, specific regions or provide store locators and directions.
    1617Features:
     
    6970
    7071== Changelog ==
     72= 1.0.3 =
     73* 2021-10-22
     74* Enhance: Only load frontend.js when required.
     75
    7176= 1.0.2 =
    7277* 2021-10-19
  • supreme-maps/trunk/supreme-maps.php

    r2616284 r2618111  
    22/**
    33 * Plugin Name: Supreme Maps
    4  * Version: 1.0.2
     4 * Version: 1.0.3
    55 * Plugin URI: https://divisupreme.com/supreme-maps-for-divi/
    66 * Description: Display beautiful and mobile-friendly interactive maps for your Divi websites.
     
    3838 */
    3939function supreme_maps() {
    40     $instance = Supreme_Maps::instance( __FILE__, '1.0.2' );
     40    $instance = Supreme_Maps::instance( __FILE__, '1.0.3' );
    4141
    4242    if ( is_null( $instance->settings ) ) {
Note: See TracChangeset for help on using the changeset viewer.