Skip to content

Commit 9b6b768

Browse files
Update src/wp-includes/media.php
Co-authored-by: Weston Ruter <westonruter@gmail.com>
1 parent beb9ffe commit 9b6b768

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/media.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5792,7 +5792,7 @@ function wp_delete_attachment_heic_companion_file( $post_id ): void {
57925792
return;
57935793
}
57945794

5795-
$heic_path = path_join( dirname( $attached_file ), wp_basename( (string) $metadata['original'] ) );
5795+
$heic_path = path_join( dirname( $attached_file ), wp_basename( $metadata['original'] ) );
57965796

57975797
if ( file_exists( $heic_path ) ) {
57985798
wp_delete_file_from_directory( $heic_path, $uploads['basedir'] );

0 commit comments

Comments
 (0)