| @@ -69,9 +69,9 @@ | ||
| 69 | 69 | case 'text/csv': |
| 70 | 70 | $this->data = CsvReader::get_data( $file_name ); |
| 71 | 71 | break; |
| 72 | 72 | default: |
| 73 | - throw new Exception( __( 'You must provide a valid file type', 'timetics' ) ); | |
| 73 | + throw new Exception( esc_html__( 'You must provide a valid file type', 'timetics' ) ); | |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | $this->set_total_row(); |
| 77 | 77 | } |