| @@ -269,9 +269,9 @@ | ||
| 269 | 269 | $filename .= '.csv'; |
| 270 | 270 | |
| 271 | 271 | $bom = chr( 0xEF ) . chr( 0xBB ) . chr( 0xBF ); |
| 272 | 272 | // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged |
| 273 | - $fp = function_exists( 'tmpfile' ) ? @tmpfile() : null; | |
| 273 | + $fp = @tmpfile(); | |
| 274 | 274 | if ( null === $fp ) { |
| 275 | 275 | $fp = fopen( wp_tempnam(), 'w+' ); |
| 276 | 276 | } |
| 277 | 277 | if ( ! apply_filters( 'vizualizer_export_include_series_type', true ) ) { |