updated plugin Easy Digital Downloads version 3.1.1.2

This commit is contained in:
2023-03-17 22:34:04 +00:00
committed by Gitium
parent e8a66564bd
commit 19e086d1c4
647 changed files with 20986 additions and 27305 deletions

View File

@ -161,7 +161,7 @@ do_action( 'edd_order_receipt_before_table', $order, $edd_receipt_args );
<?php if ( filter_var( $edd_receipt_args['price'], FILTER_VALIDATE_BOOLEAN ) ) : ?>
<tr>
<td><strong><?php esc_html_e( 'Total', 'easy-digital-downloads' ); ?>:</strong></td>
<td><?php echo esc_html( edd_payment_amount( $order->id ) ); ?></td>
<td><?php echo esc_html( edd_payment_amount( $order ) ); ?></td>
</tr>
<?php endif; ?>
@ -246,7 +246,7 @@ if ( empty( $order_items ) ) {
foreach ( $download_files as $filekey => $file ) :
?>
<li class="edd_download_file">
<a href="<?php echo esc_url( edd_get_download_file_url( $order->payment_key, $order->email, $filekey, $item->product_id, $item->price_id ) ); ?>" class="edd_download_file_link"><?php echo esc_html( edd_get_file_name( $file ) ); ?></a>
<a href="<?php echo esc_url( edd_get_download_file_url( $order, $order->email, $filekey, $item->product_id, $item->price_id ) ); ?>" class="edd_download_file_link"><?php echo esc_html( edd_get_file_name( $file ) ); ?></a>
</li>
<?php
/**
@ -278,7 +278,7 @@ if ( empty( $order_items ) ) {
foreach ( $download_files as $filekey => $file ) :
?>
<li class="edd_download_file">
<a href="<?php echo esc_url( edd_get_download_file_url( $order->payment_key, $order->email, $filekey, $bundle_item, $bundle_item_price_id ) ); ?>" class="edd_download_file_link"><?php echo esc_html( edd_get_file_name( $file ) ); ?></a>
<a href="<?php echo esc_url( edd_get_download_file_url( $order, $order->email, $filekey, $bundle_item, $bundle_item_price_id ) ); ?>" class="edd_download_file_link"><?php echo esc_html( edd_get_file_name( $file ) ); ?></a>
</li>
<?php
/**