Changeset 2497414
- Timestamp:
- 03/16/2021 11:01:40 PM (5 years ago)
- Location:
- show-hidecollapse-expand/trunk
- Files:
-
- 3 edited
-
Tab_settings.php (modified) (1 diff)
-
bg_show_hide.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
show-hidecollapse-expand/trunk/Tab_settings.php
r1801725 r2497414 84 84 $this->_html ); 85 85 86 wp_localize_script( "bg-show-hide-script", 'BG_SHCE_USE_EFFECTS', $this->getPluginContext()->getEffectsEnabledOption());87 wp_localize_script( "bg-show-hide-script", 'BG_SHCE_TOGGLE_SPEED', $this->getPluginContext()->getAnimationSpeed());88 wp_localize_script( "bg-show-hide-script", 'BG_SHCE_TOGGLE_OPTIONS', 'none');89 wp_localize_script( "bg-show-hide-script", 'BG_SHCE_TOGGLE_EFFECT', $this->getPluginContext()->getAnimationEffect());86 wp_localize_script( "bg-show-hide-script", 'BG_SHCE_USE_EFFECTS', array($this->getPluginContext()->getEffectsEnabledOption())); 87 wp_localize_script( "bg-show-hide-script", 'BG_SHCE_TOGGLE_SPEED', array($this->getPluginContext()->getAnimationSpeed())); 88 wp_localize_script( "bg-show-hide-script", 'BG_SHCE_TOGGLE_OPTIONS', array('none')); 89 wp_localize_script( "bg-show-hide-script", 'BG_SHCE_TOGGLE_EFFECT', array($this->getPluginContext()->getAnimationEffect())); 90 90 91 91 return $this->_html; -
show-hidecollapse-expand/trunk/bg_show_hide.php
r2357294 r2497414 5 5 Plugin URI: http://showhide.bunte-giraffe.de 6 6 Description: Save space on your pages, posts, sidebars. Hide the content before user clicks to see it. Collapse long lists, create FAQs & more. 7 Version: 1.2. 47 Version: 1.2.5 8 8 Author: Bunte Giraffe 9 9 Author URI: http://bunte-giraffe.de … … 258 258 $content = do_shortcode($content); 259 259 260 wp_localize_script( "bg-show-hide-script", 'BG_SHCE_USE_EFFECTS', get_option('bg_shce_effectsEnabled','0'));261 wp_localize_script( "bg-show-hide-script", 'BG_SHCE_TOGGLE_SPEED', get_option('bg_shce_animationSpeed','400'));262 wp_localize_script( "bg-show-hide-script", 'BG_SHCE_TOGGLE_OPTIONS', 'none');263 wp_localize_script( "bg-show-hide-script", 'BG_SHCE_TOGGLE_EFFECT', get_option('bg_shce_animationEffect','blind'));260 wp_localize_script( "bg-show-hide-script", 'BG_SHCE_USE_EFFECTS', array(get_option('bg_shce_effectsEnabled','0'))); 261 wp_localize_script( "bg-show-hide-script", 'BG_SHCE_TOGGLE_SPEED', array(get_option('bg_shce_animationSpeed','400'))); 262 wp_localize_script( "bg-show-hide-script", 'BG_SHCE_TOGGLE_OPTIONS', array('none')); 263 wp_localize_script( "bg-show-hide-script", 'BG_SHCE_TOGGLE_EFFECT', array(get_option('bg_shce_animationEffect','blind'))); 264 264 265 265 // always return … … 409 409 plugins_url( BG_SHCE_TMCE_STYLESHEET_FILE_URL, __FILE__ ) ); 410 410 411 wp_localize_script( "jquery", "BG_SHCE_PRESET1", get_option('bg_shce_preset1',' '));411 wp_localize_script( "jquery", "BG_SHCE_PRESET1", array(get_option('bg_shce_preset1',' '))); 412 412 413 413 } -
show-hidecollapse-expand/trunk/readme.txt
r2357294 r2497414 90 90 == Changelog == 91 91 92 = 1.2.5 = 93 * Added compatibility for WP 5.7 94 92 95 = 1.2.4 = 93 96 * Added compatibility for PHP 7.3+
Note: See TracChangeset
for help on using the changeset viewer.