| @@ -809,11 +809,11 @@ | ||
| 809 | 809 | |
| 810 | 810 | /** |
| 811 | 811 | * @see get_attached_file |
| 812 | 812 | */ |
| 813 | - public function getAttachedFile(int $attachmentId, bool $unfiltered = false): string|false | |
| 813 | + public function getAttachedFile(int $attachmentId): string|false | |
| 814 | 814 | { |
| 815 | - return get_attached_file($attachmentId, $unfiltered); | |
| 815 | + return get_attached_file($attachmentId); | |
| 816 | 816 | } |
| 817 | 817 | |
| 818 | 818 | /** |
| 819 | 819 | * The return value passes the wp_get_attachment_metadata filter, so any type can reach us. |