Changeset 1179200
- Timestamp:
- 06/11/2015 07:12:36 PM (11 years ago)
- Location:
- themedy-toolbox/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
themedy-toolbox.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
themedy-toolbox/trunk/readme.txt
r1132256 r1179200 2 2 Contributors: themedy, mahodder, matthodder 3 3 Tags: shortcodes, themedy, genesis, thesis 4 Requires at least: 4. 05 Tested up to: 4. 1.16 Stable tag: 1.0. 74 Requires at least: 4.1 5 Tested up to: 4.2.2 6 Stable tag: 1.0.8 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 32 32 33 33 == Changelog == 34 35 = 1.0.8 = 36 * Fix potentional conflict with Site Orgin CSS plugin 34 37 35 38 = 1.0.7 = -
themedy-toolbox/trunk/themedy-toolbox.php
r1132256 r1179200 4 4 Plugin URI: http://themedy.com 5 5 Description: Shortcodes and tools to extend your Themedy site even further. 6 Version: 1.0. 76 Version: 1.0.8 7 7 Author: Themedy 8 8 Author URI: http://themedy.com … … 33 33 wp_enqueue_script('themedy_shortcodes_js'); 34 34 35 } else {36 37 wp_enqueue_style( 'wp-color-picker' );38 wp_enqueue_script( 'wp-color-picker' );39 40 35 } 41 36 … … 53 48 54 49 if( 'post.php' == $hook_suffix || 'post-new.php' == $hook_suffix ) { 55 wp_enqueue_script('themedy-editor-plugin', plugin_dir_url( __FILE__ ) . 'includes/tinymce_button.js'); 56 /* Fix wp-content directory renamed issue */ 57 wp_localize_script('themedy-editor-plugin', 'themedy_editor_plugin_vars', array( 58 'tbicon' => __(plugin_dir_url( __FILE__ ) . 'images/toolbar-icon.png'), 'themedy')); 59 wp_localize_script('themedy-editor-plugin', 'themedy_editor_plugin_wp_content', array( 60 'tbwpcontent' => __(plugin_dir_url( __FILE__ )), 'themedy')); 50 51 wp_enqueue_style( 'wp-color-picker' ); 52 wp_enqueue_script( 'wp-color-picker' ); 53 wp_enqueue_script('themedy-editor-plugin', plugin_dir_url( __FILE__ ) . 'includes/tinymce_button.js'); 54 55 /* Fix wp-content directory renamed issue */ 56 wp_localize_script('themedy-editor-plugin', 'themedy_editor_plugin_vars', array( 57 'tbicon' => __(plugin_dir_url( __FILE__ ) . 'images/toolbar-icon.png'), 'themedy')); 58 59 wp_localize_script('themedy-editor-plugin', 'themedy_editor_plugin_wp_content', array( 60 'tbwpcontent' => __(plugin_dir_url( __FILE__ )), 'themedy')); 61 61 } 62 62 }
Note: See TracChangeset
for help on using the changeset viewer.