@@ -96,6 +96,9 @@ |
||
96 | 96 | return $original; |
97 | 97 | } |
98 | 98 | |
99 | + /** |
|
100 | + * @param string $pathname |
|
101 | + */ |
|
99 | 102 | public static function delete_file( $pathname ) { |
100 | 103 | if ( ! file_exists( $pathname ) || ! is_file( $pathname ) ) { |
101 | 104 | // let's touch a fake file to try to `really` remove the media file |