PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.4.8
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.4.8
4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 3.10.4 All 148 releases
← All changes | classes/Visualizer/Source.php +1 -2 3.10.03.4.8 View file →
@@ -217,9 +217,8 @@
217 217 continue;
218 218 }
219 219 switch ( $series['type'] ) {
220 220 case 'number':
221 - $data[ $i ] = preg_replace( '/[\x{200B}-\x{200D}\x{FEFF}]/u', '', $data[ $i ] );
222 221 $data[ $i ] = ( is_numeric( $data[ $i ] ) ) ? floatval( $data[ $i ] ) : ( is_numeric( str_replace( ',', '', $data[ $i ] ) ) ? floatval( str_replace( ',', '', $data[ $i ] ) ) : null );
223 222 break;
224 223 case 'boolean':
225 224 $datum = trim( strval( $data[ $i ] ) );
@@ -335,9 +334,9 @@
335 334 * @param string $type 'date', 'timeofday' or 'datetime'.
336 335 *
337 336 * @return string|null
338 337 */
339 - private static function determine_date_format( $value, $type ) {
338 + private static final function determine_date_format( $value, $type ) {
340 339 if ( version_compare( phpversion(), '5.3.0', '<' ) ) {
341 340 do_action( 'themeisle_log_event', Visualizer_Plugin::NAME, sprintf( 'PHP version %s not supported', phpversion() ), 'error', __FILE__, __LINE__ );
342 341 return null;
343 342 }