| @@ -428,9 +428,9 @@ | ||
| 428 | 428 | if ( $headers ) { |
| 429 | 429 | foreach ( $headers as $header ) { |
| 430 | 430 | if ( ! empty( $types[ $header ] ) ) { |
| 431 | 431 | $this->_series[] = array( |
| 432 | - 'label' => $header, | |
| 432 | + 'label' => sanitize_text_field( wp_strip_all_tags( $header ) ), | |
| 433 | 433 | 'type' => $types[ $header ], |
| 434 | 434 | ); |
| 435 | 435 | } |
| 436 | 436 | } |