Plugin Directory

Changeset 2418696


Ignore:
Timestamp:
11/14/2020 06:19:17 PM (5 years ago)
Author:
telicom
Message:

fix jQuery error

Location:
wp-simplemind-map/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wp-simplemind-map/trunk/app.php

    r2412325 r2418696  
    55Plugin URI: https://telicom.ca/
    66Author: Telicom Inc <mehedee@telicom.ca>
    7 Version: 1.1.4
     7Version: 1.1.5
    88Text Domain: wp-simplemind-map
    99*/
  • wp-simplemind-map/trunk/readme.txt

    r2412325 r2418696  
    33Tags: simplemind map, telicom, mind map, diagram, workflow
    44Requires at least: 5.4.0
    5 Tested up to: 5.5.1
     5Tested up to: 5.5.3
    66Requires PHP: 7.0
    7 Stable tag: 1.1.4
     7Stable tag: 1.1.5
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    9292
    9393== Changelog ==
     94= 1.1.5 =
     95* Fix jQeury error
     96
    9497= 1.1.4 =
    9598* Fix Security Issue
  • wp-simplemind-map/trunk/src/SmdmapEnqueue.php

    r2412325 r2418696  
    2222    {
    2323
    24         wp_enqueue_script('drop-zone-js', SMM_ASSETSURL . "add-on/image-map-resizer/imageMapResizer.min.js", array(), '1.0.0', true);
    25         wp_enqueue_script('form-script', SMM_ASSETSURL . "js/script.js", array(),  $this->version, true);
     24        wp_enqueue_script('image-resizer', SMM_ASSETSURL . "add-on/image-map-resizer/imageMapResizer.min.js", array('jquery'), '1.0.0', true);
     25        wp_enqueue_script('form-script', SMM_ASSETSURL . "js/script.js", array('jquery'),  $this->version, true);
    2626
    2727        wp_localize_script(
  • wp-simplemind-map/trunk/src/SmdmapHook.php

    r2361279 r2418696  
    2121
    2222        add_action( 'update_option_smdmap_username', [$self, 'smdmap_username_after_save'], 10, 2 );
    23         add_action( 'update_option_smdmap_apikey', [$self, 'smdmap_apikey_after_save'], 10, 2 );
     23//        add_action( 'update_option_smdmap_apikey', [$self, 'smdmap_apikey_after_save'], 10, 2 );
    2424    }
    2525
    2626    public function smdmap_username_after_save($old_value, $new_value)
    2727    {
    28         if ( $old_value !== $new_value ) {
     28//        if ( $old_value !== $new_value ) {
    2929            $SmdmapTelicom = new SmdmapTelicom();
    3030            $SmdmapTelicom->setSubscriptionStatus();
    31         }
     31//        }
    3232    }
    3333
Note: See TracChangeset for help on using the changeset viewer.