updated plugin Easy Digital Downloads version 3.1.2

This commit is contained in:
2023-06-28 12:45:44 +00:00
committed by Gitium
parent 44df590080
commit f710fa7de2
120 changed files with 5556 additions and 3347 deletions

View File

@ -224,6 +224,7 @@ function edd_get_purchase_link( $args = array() ) {
<?php endif; ?>
<?php if( ! empty( $args['direct'] ) && ! $download->is_free( $args['price_id'] ) ) { ?>
<input type="hidden" name="edd_action" class="edd_action_input" value="straight_to_gateway">
<?php wp_nonce_field( 'edd_straight_to_gateway', 'edd_straight_to_gateway', false ); ?>
<?php } else { ?>
<input type="hidden" name="edd_action" class="edd_action_input" value="add_to_cart">
<?php } ?>