updated plugin Easy Digital Downloads version 3.1.4

This commit is contained in:
2023-07-19 21:08:59 +00:00
committed by Gitium
parent a7f6efbebb
commit 9a42dc17d2
109 changed files with 12446 additions and 5563 deletions

View File

@ -15,7 +15,13 @@ if ( is_user_logged_in() ):
if ( edd_is_cart_saved() ): ?>
<?php $restore_url = add_query_arg( array( 'edd_action' => 'restore_cart', 'edd_cart_token' => urlencode( edd_get_cart_token() ) ), edd_get_checkout_uri() ); ?>
<div class="edd_success edd-alert edd-alert-success"><strong><?php _e( 'Saved cart','easy-digital-downloads' ); ?>:</strong> <?php printf( __( 'You have a saved cart, <a href="%s">click here</a> to restore it.', 'easy-digital-downloads' ), esc_url( $restore_url ) ); ?></div>
<div class="edd_success edd-alert edd-alert-success">
<strong><?php esc_html_e( 'Saved cart', 'easy-digital-downloads' ); ?>:</strong>
<?php
/* translators: %s: Restore cart URL */
printf( wp_kses_post( __( 'You have a saved cart, <a href="%s">click here</a> to restore it.', 'easy-digital-downloads' ) ), esc_url( $restore_url ) );
?>
</div>
<?php endif; ?>
<?php if ( isset( $_GET['updated'] ) && $_GET['updated'] == true && ! edd_get_errors() ): ?>