Plugin Directory

Changeset 2227455


Ignore:
Timestamp:
01/14/2020 10:11:24 PM (6 years ago)
Author:
healcode_wordpress
Message:

[BW-1803] change create_function to anon function

Location:
healcode-mindbody-widget/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • healcode-mindbody-widget/trunk/hc-editor-plugin.php

    r2109141 r2227455  
    2121
    2222    public function include_hc_media_button_js() {
    23       wp_enqueue_script('hc_media_script', plugins_url('/js/healcode-wp-mb-widget.js', __FILE__), array('jquery'), '1.1.18', true);
     23      wp_enqueue_script('hc_media_script', plugins_url('/js/healcode-wp-mb-widget.js', __FILE__), array('jquery'), '1.1.19', true);
    2424    }
    2525
  • healcode-mindbody-widget/trunk/healcode-mb-widget.php

    r2109141 r2227455  
    44Plugin URI: https://wordpress.org/plugins/healcode-mindbody-widget/
    55Description: Add MINDBODY Widgets to your WordPress website. This plugin lets you generate a shortcode for a widget. The shortcodes can be used in your pages, posts and widgets.
    6 Version: 1.1.18
     6Version: 1.1.19
    77Author: MINDBODY
    88Author URI: https://www.mindbodyonline.com/
  • healcode-mindbody-widget/trunk/readme.txt

    r2109141 r2227455  
    55Requires at least: 3.0
    66Tested up to: 5.1.1
    7 Stable tag: 1.1.18
     7Stable tag: 1.1.19
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    226226== Changelog ==
    227227
     228= 1.1.19 =
     229* Replace deprecated create_function
    228230= 1.1.18 =
    229231* Update 'tested up to' version number
     
    291293== Upgrade Notice ==
    292294
     295= 1.1.19 =
     296* Replace deprecated create_function
    293297= 1.1.18 =
    294298* Update 'tested up to' version number
  • healcode-mindbody-widget/trunk/widget.php

    r1677900 r2227455  
    8686
    8787} // end class Hc_Insert_Html_Widget
    88 add_action('widgets_init', create_function('', 'return register_widget("Hc_Insert_Html_Widget");'));
     88
     89add_action(‘widgets_init’, function() { return register_widget("Hc_Insert_Html_Widget"); })
    8990?>
Note: See TracChangeset for help on using the changeset viewer.