Changeset 3437611
- Timestamp:
- 01/12/2026 10:58:19 AM (6 weeks ago)
- Location:
- rapisafe-multi-file-cf7/trunk
- Files:
-
- 3 edited
-
rapisafe-multi-file-cf7.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
src/settings/RSMFCF7_MultiFileTabSettings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
rapisafe-multi-file-cf7/trunk/rapisafe-multi-file-cf7.php
r3437563 r3437611 5 5 * Description: Secure multiple file upload field for Contact Form 7. 6 6 * Text Domain: rapisafe-multi-file-cf7 7 * Version: 1.0. 27 * Version: 1.0.3 8 8 * Requires at least: 5.4 9 9 * Domain Path: /languages -
rapisafe-multi-file-cf7/trunk/readme.txt
r3437563 r3437611 6 6 Requires at least: 5.4 7 7 Tested up to: 6.9 8 Stable tag: 1.0. 28 Stable tag: 1.0.3 9 9 Requires PHP: 7.2 10 10 License: GPLv2 or later … … 152 152 == Changelog == 153 153 154 = 1.0.3 = 155 Fix warning 156 154 157 = 1.0.2 = 155 158 Fix default settings warning … … 169 172 == Upgrade Notice == 170 173 174 = 1.0.3 = 175 Fix warning 176 171 177 = 1.0.2 = 172 178 Fix default settings warning -
rapisafe-multi-file-cf7/trunk/src/settings/RSMFCF7_MultiFileTabSettings.php
r3437563 r3437611 110 110 $borderColor = ( !empty( $settings['border-color'] ) ? RSMFCF7_Helpers::sanitizeHexColorValue( $settings['border-color'] ) : '#000000' ); 111 111 $bgColor = ( !empty( $settings['bg-color'] ) ? RSMFCF7_Helpers::sanitizeHexColorValue( $settings['bg-color'] ) : '#FFFFFF' ); 112 $dragAndDropEnable = (bool) $settings['enable-drag-and-drop'];112 $dragAndDropEnable = isset($settings['enable-drag-and-drop']) ?? false; 113 113 $maxAjaxSyncFiles = ( (int) $settings['max-ajax-sync-files'] ? $settings['max-ajax-sync-files'] : 1 ); 114 $hideSvgIcon = (bool) $settings['hide-svg-icon'];114 $hideSvgIcon = isset($settings['hide-svg-icon']) ?? false; 115 115 $svgIconColor = RSMFCF7_Helpers::sanitizeHexColorValue( $settings['svg-icon-color'] ); 116 $hideSuggestion = (bool) $settings['hide-suggestion'];117 $boxPreviewColumns = (int) $settings['box-preview-columns'];116 $hideSuggestion = isset($settings['hide-suggestion']); 117 $boxPreviewColumns = $settings['box-preview-columns'] ?? 3; 118 118 $borderRadius = (int) $settings['border-radius']; 119 $previewEnable = (bool) $settings['enable-link-preview'];119 $previewEnable = isset($settings['enable-link-preview'])??false; 120 120 $cf7_data = [ 121 121 'style' => $style,
Note: See TracChangeset
for help on using the changeset viewer.