Skip to content

Commit

Permalink
pub-745
Browse files Browse the repository at this point in the history
  • Loading branch information
jostrowka committed Aug 9, 2024
1 parent 49559c2 commit 1e3c3b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/process-download.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function edd_process_download() {
header("Content-Disposition: attachment; filename=\"" . apply_filters( 'edd_requested_file_name', basename( $requested_file ) ) . "\"");
header("Content-Transfer-Encoding: binary");

do_action( 'file_downloaded', (int)$attachment_id);
do_action( 'wpi_file_downloaded', (int)$attachment_id);

// If the file isn't locally hosted, process the redirect
if ( filter_var( $requested_file, FILTER_VALIDATE_URL ) && ! edd_is_local_file( $requested_file ) ) {
Expand Down

0 comments on commit 1e3c3b6

Please sign in to comment.