| @@ -5,9 +5,9 @@ | ||
| 5 | 5 | use Elementor\Plugin; |
| 6 | 6 | use Elementor\TemplateLibrary\Source_Local; |
| 7 | 7 | |
| 8 | 8 | if ( ! defined( 'ABSPATH' ) ) { |
| 9 | - exit; // Exit if accessed directly. | |
| 9 | + exit; // Exit if accessed directly | |
| 10 | 10 | } |
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | 13 | * Elementor Page Builder cli tools. |
| @@ -122,9 +122,9 @@ | ||
| 122 | 122 | } |
| 123 | 123 | |
| 124 | 124 | if ( isset( $tmp_path ) ) { |
| 125 | 125 | // Remove the temporary file, now that we're done with it. |
| 126 | - Plugin::$instance->uploads_manager->remove_file_or_dir( $file ); | |
| 126 | + Plugin::$instance->uploads_manager->remove_temp_file_or_dir( $file ); | |
| 127 | 127 | } |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | 130 | /** |