updated plugin Easy Digital Downloads
version 3.1.4
This commit is contained in:
@ -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() ): ?>
|
||||
|
Reference in New Issue
Block a user