Skip to content
Open
Prev Previous commit
Next Next commit
Apply suggestion from @sourcery-ai[bot]
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
  • Loading branch information
firestar300 and sourcery-ai[bot] committed Apr 24, 2026
commit a484dc4d5f9c2fb82ca3a4eb98bbda1da77fb334
2 changes: 1 addition & 1 deletion inc/Helpers/Misc.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function get_file_infos( int $file_id ): array {
'details' => get_file_detail( $file_name, $file_ext, $file_size ),
'details_accessible' => get_file_detail( $file_name, $file_ext, get_accessible_file_size_label( $file_size ) ),
'href' => $file_href,
'caption' => wp_get_attachment_caption( $file_id ),
'caption' => (string) wp_get_attachment_caption( $file_id ),
];
}

Expand Down