Changeset 1434142
- Timestamp:
- 06/09/2016 08:18:47 PM (10 years ago)
- Location:
- healcode-mindbody-widget/trunk
- Files:
-
- 3 edited
-
hc-editor-plugin.php (modified) (3 diffs)
-
healcode-mb-widget.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
healcode-mindbody-widget/trunk/hc-editor-plugin.php
r1433465 r1434142 6 6 7 7 public function __construct() { 8 wp_enqueue_script('hc_media_script', plugins_url('/js/healcode-wp-mb-widget.js', __FILE__), array('jquery'), '1.1.7', true);9 8 add_action( 'init', array($this, 'init') ); 10 9 } … … 18 17 add_action('media_buttons', array($this, 'add_hc_media_button')); 19 18 } 19 } 20 21 public function include_hc_media_button_js() { 22 wp_enqueue_script('hc_media_script', plugins_url('/js/healcode-wp-mb-widget.js', __FILE__), array('jquery'), '1.1.8', true); 20 23 } 21 24 … … 52 55 if(!isset($HealcodeShortcodeContainer)){ 53 56 $HealcodeShortcodeContainer = new HealcodeShortcodeContainer(); 57 add_action('wp_enqueue_media', array($HealcodeShortcodeContainer, 'include_hc_media_button_js')); 54 58 add_action('admin_head', array($HealcodeShortcodeContainer, 'get_shortcodes')); 55 59 add_action('admin_head', array($HealcodeShortcodeContainer, 'add_shortcodes_container')); -
healcode-mindbody-widget/trunk/healcode-mb-widget.php
r1433465 r1434142 4 4 Plugin URI: https://wordpress.org/plugins/healcode-mb-widget/ 5 5 Description: Add HealCode 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. 86 Version: 1.1.9 7 7 Author: HealCode 8 8 Author URI: http://www.healcode.com/ -
healcode-mindbody-widget/trunk/readme.txt
r1433465 r1434142 5 5 Requires at least: 3.0 6 6 Tested up to: 4.5 7 Stable tag: 1.1. 87 Stable tag: 1.1.9 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 231 231 == Changelog == 232 232 233 = 1.1.9 = 234 * Update JS enqueuing to best practice 233 235 = 1.1.8 = 234 236 * Fix initial load for first time installers … … 274 276 == Upgrade Notice == 275 277 278 = 1.1.9 = 279 * Update JS enqueuing to best practice 276 280 = 1.1.8 = 277 281 * Fix initial load for first time installers
Note: See TracChangeset
for help on using the changeset viewer.