Changeset 3056177
- Timestamp:
- 03/21/2024 01:55:51 PM (2 years ago)
- Location:
- powerpack-addon-for-beaver-builder/trunk
- Files:
-
- 3 edited
-
bb-powerpack-lite.php (modified) (2 diffs)
-
includes/ui-field-pp-switch.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
powerpack-addon-for-beaver-builder/trunk/bb-powerpack-lite.php
r3051551 r3056177 4 4 * Plugin URI: https://wpbeaveraddons.com 5 5 * Description: A set of custom, creative, unique modules for Beaver Builder to speed up your web design and development process. 6 * Version: 1.3.0. 16 * Version: 1.3.0.2 7 7 * Author: Beaver Addons 8 8 * Author URI: https://wpbeaveraddons.com … … 65 65 define( 'BB_POWERPACK_LITE', true ); 66 66 define( 'BB_POWERPACK_PRO', 'https://wpbeaveraddons.com/upgrade/?utm_medium=bb-powerpack-lite&utm_source=module-settings&utm_campaign=module-settings' ); 67 define( 'BB_POWERPACK_VER', '1.3.0. 1' );67 define( 'BB_POWERPACK_VER', '1.3.0.2' ); 68 68 define( 'BB_POWERPACK_DIR', plugin_dir_path( __FILE__ ) ); 69 69 define( 'BB_POWERPACK_URL', plugins_url( '/', __FILE__ ) ); -
powerpack-addon-for-beaver-builder/trunk/includes/ui-field-pp-switch.php
r1962832 r3056177 22 22 23 23 // Options Count 24 var optionsCount = Object.keys(field.options).length;24 var optionsCount = 'undefined' !== typeof field.options ? Object.keys(field.options).length : 2; 25 25 26 26 #> 27 27 28 28 <div class="pp-switch" data-options="{{optionsCount}}"> 29 <# 30 // Loop through the options 31 for ( var optionKey in field.options ) { 32 var optionVal = field.options[ optionKey ]; 33 // Is selected? 34 var selected = ''; 35 if ( optionKey == value ) { 36 selected = ' pp-switch-active'; 37 } 38 // Option label 39 var label = 'object' === typeof optionVal ? optionVal.label : optionVal; 29 <# 30 if ( 'undefined' !== typeof field.options ) { 31 // Loop through the options 32 for ( var optionKey in field.options ) { 33 var optionVal = field.options[ optionKey ]; 34 // Is selected? 35 var selected = ''; 36 if ( optionKey == value ) { 37 selected = ' pp-switch-active'; 38 } 39 // Option label 40 var label = 'object' === typeof optionVal ? optionVal.label : optionVal; 40 41 #> 41 <span class="pp-switch-button{{selected}}" data-value="{{optionKey}}">{{{label}}}</span> 42 <# } #> 42 <span class="pp-switch-button{{selected}}" data-value="{{optionKey}}">{{{label}}}</span> 43 <# } } else { #> 44 <span class="pp-switch-button<# if ( 'yes' === value ) { #> pp-switch-active<# } #>" data-value="yes"><?php _e( 'Yes', 'bb-powerpack' ); ?></span> 45 <span class="pp-switch-button<# if ( 'no' === value ) { #> pp-switch-active<# } #>" data-value="no"><?php _e( 'No', 'bb-powerpack' ); ?></span> 46 <# } #> 43 47 <input type="hidden" class="pp-field-switch" name="{{name}}" value="{{value}}"{{{atts}}} /> 44 48 </div> -
powerpack-addon-for-beaver-builder/trunk/readme.txt
r3051551 r3056177 4 4 Requires at least: 4.6 5 5 Requires PHP: 7.4 6 Tested up to: 6. 36 Tested up to: 6.4.3 7 7 Stable tag: trunk 8 8 License: GPLv2 or later … … 197 197 == Changelog == 198 198 199 == 1.3.0.2 - March 21, 2024 200 * Fix: Modules were not functioning properly after recent update 201 199 202 == 1.3.0.1 - March 15, 2024 200 203 * Security fixes
Note: See TracChangeset
for help on using the changeset viewer.