← All changes
|
includes/import/image-parsers/abstract-image-parser.php
+1
-1
2.9.1
→
2.14.0
View file →
| @@ -69,9 +69,9 @@ | ||
| 69 | 69 | // Move the temporary file into the upload directory. |
| 70 | 70 | $attachment_id = media_handle_sideload( $file ); |
| 71 | 71 | update_post_meta( $attachment_id, '_ablocks_demo_ref', $url ); |
| 72 | 72 | |
| 73 | - // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged | |
| 73 | + // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged, WordPress.WP.AlternativeFunctions.unlink_unlink | |
| 74 | 74 | @unlink( $temp_file ); |
| 75 | 75 | |
| 76 | 76 | return $attachment_id; |
| 77 | 77 | } |