Changeset 3478287
- Timestamp:
- 03/09/2026 03:47:19 PM (3 weeks ago)
- Location:
- groundhogg
- Files:
-
- 6 edited
- 1 copied
-
tags/4.3.2 (copied) (copied from groundhogg/trunk)
-
tags/4.3.2/README.txt (modified) (2 diffs)
-
tags/4.3.2/groundhogg.php (modified) (2 diffs)
-
tags/4.3.2/includes/better-meta-compat.php (modified) (1 diff)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/groundhogg.php (modified) (2 diffs)
-
trunk/includes/better-meta-compat.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
groundhogg/tags/4.3.2/README.txt
r3476690 r3478287 7 7 Tested up to: 6.9 8 8 Requires PHP: 7.1 9 Stable tag: 4.3. 19 Stable tag: 4.3.2 10 10 License: GPLv3 11 11 License URI: https://www.gnu.org/licenses/gpl.md … … 378 378 379 379 == Changelog == 380 381 = 4.3.2 (2026-03-09) = 382 * FIXED Sanitization issue with number fields causing numbers with more than 4 digits not to save. 380 383 381 384 = 4.3.1 (2026-03-06) = -
groundhogg/tags/4.3.2/groundhogg.php
r3476690 r3478287 4 4 * Plugin URI: https://www.groundhogg.io/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash 5 5 * Description: CRM and marketing automation for WordPress 6 * Version: 4.3. 16 * Version: 4.3.2 7 7 * Author: Groundhogg Inc. 8 8 * Author URI: https://www.groundhogg.io/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash … … 25 25 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 26 26 27 define( 'GROUNDHOGG_VERSION', '4.3. 1' );27 define( 'GROUNDHOGG_VERSION', '4.3.2' ); 28 28 define( 'GROUNDHOGG_PREVIOUS_STABLE_VERSION', '4.3' ); 29 29 -
groundhogg/tags/4.3.2/includes/better-meta-compat.php
r3476690 r3478287 62 62 return sanitize_textarea_field( $value ); 63 63 case 'number': 64 return number_format( (float) $value, $field['decimals'] ?? 0 ); 64 // return number_format( (float) $value, $field['decimals'] ?? 0, '.', '' ); 65 return number_format( (float) $value, $field['decimals'] ?? 0, '.', '' ); 65 66 case 'time': 66 return date( 'H:i:s', strtotime( $value ) ); 67 try { 68 return ( new DateTimeHelper( $value ) )->format( 'H:i:s' ); 69 } catch ( \DateException $e ) { 70 return ''; 71 } 67 72 case 'date': 68 return date( 'Y-m-d', strtotime( $value ) ); 73 try { 74 return ( new DateTimeHelper( $value ) )->ymd(); 75 } catch ( \DateException $e ) { 76 return ''; 77 } 69 78 case 'datetime': 70 return date( 'Y-m-d H:i:s', strtotime( $value ) ); 79 try { 80 return ( new DateTimeHelper( $value ) )->ymdhis(); 81 } catch ( \DateException $e ) { 82 return ''; 83 } 71 84 case 'dropdown': 72 85 // Multiple options can be selected -
groundhogg/trunk/README.txt
r3476690 r3478287 7 7 Tested up to: 6.9 8 8 Requires PHP: 7.1 9 Stable tag: 4.3. 19 Stable tag: 4.3.2 10 10 License: GPLv3 11 11 License URI: https://www.gnu.org/licenses/gpl.md … … 378 378 379 379 == Changelog == 380 381 = 4.3.2 (2026-03-09) = 382 * FIXED Sanitization issue with number fields causing numbers with more than 4 digits not to save. 380 383 381 384 = 4.3.1 (2026-03-06) = -
groundhogg/trunk/groundhogg.php
r3476690 r3478287 4 4 * Plugin URI: https://www.groundhogg.io/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash 5 5 * Description: CRM and marketing automation for WordPress 6 * Version: 4.3. 16 * Version: 4.3.2 7 7 * Author: Groundhogg Inc. 8 8 * Author URI: https://www.groundhogg.io/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash … … 25 25 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 26 26 27 define( 'GROUNDHOGG_VERSION', '4.3. 1' );27 define( 'GROUNDHOGG_VERSION', '4.3.2' ); 28 28 define( 'GROUNDHOGG_PREVIOUS_STABLE_VERSION', '4.3' ); 29 29 -
groundhogg/trunk/includes/better-meta-compat.php
r3476690 r3478287 62 62 return sanitize_textarea_field( $value ); 63 63 case 'number': 64 return number_format( (float) $value, $field['decimals'] ?? 0 ); 64 // return number_format( (float) $value, $field['decimals'] ?? 0, '.', '' ); 65 return number_format( (float) $value, $field['decimals'] ?? 0, '.', '' ); 65 66 case 'time': 66 return date( 'H:i:s', strtotime( $value ) ); 67 try { 68 return ( new DateTimeHelper( $value ) )->format( 'H:i:s' ); 69 } catch ( \DateException $e ) { 70 return ''; 71 } 67 72 case 'date': 68 return date( 'Y-m-d', strtotime( $value ) ); 73 try { 74 return ( new DateTimeHelper( $value ) )->ymd(); 75 } catch ( \DateException $e ) { 76 return ''; 77 } 69 78 case 'datetime': 70 return date( 'Y-m-d H:i:s', strtotime( $value ) ); 79 try { 80 return ( new DateTimeHelper( $value ) )->ymdhis(); 81 } catch ( \DateException $e ) { 82 return ''; 83 } 71 84 case 'dropdown': 72 85 // Multiple options can be selected
Note: See TracChangeset
for help on using the changeset viewer.