Skip to content

Commit c9cfd0d

Browse files
remove ability to add Google Table charts
1 parent 3e2c27b commit c9cfd0d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

classes/Visualizer/Module/Admin.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,10 @@ private static function handleDeprecatedCharts( $types, $enabledOnly, $get2Darra
395395
break;
396396
default:
397397
// remove the option to create a Google Table chart.
398+
$deprecated[] = 'table';
399+
400+
// rename the new table chart type.
398401
if ( self::hasChartType( 'table' ) ) {
399-
$deprecated[] = 'table';
400402
if ( $get2Darray ) {
401403
$types['dataTable'] = esc_html__( 'Table', 'visualizer' );
402404
} else {

0 commit comments

Comments
 (0)