| @@ -297,9 +297,9 @@ | ||
| 297 | 297 | } |
| 298 | 298 | |
| 299 | 299 | $error = $source->get_error(); |
| 300 | 300 | if ( empty( $error ) ) { |
| 301 | - add_filter( 'wp_revisions_to_keep', '__return_false' ); | |
| 301 | + $this->disableRevisionsTemporarily(); | |
| 302 | 302 | if ( $load_series ) { |
| 303 | 303 | update_post_meta( $chart_id, Visualizer_Plugin::CF_SERIES, $source->getSeries() ); |
| 304 | 304 | } |
| 305 | 305 | |