updated plugin Easy Digital Downloads
version 3.1.4
This commit is contained in:
@ -1,5 +1,10 @@
|
||||
<div id="edd-payment-processing">
|
||||
<p><?php printf( __( 'Your purchase is processing. This page will reload automatically in 8 seconds. If it does not, click <a href="%s">here</a>.', 'easy-digital-downloads' ), esc_url( edd_get_success_page_uri() ) ); ?>
|
||||
<p>
|
||||
<?php
|
||||
/* translators: %s - success page URL */
|
||||
printf( wp_kses_post( __( 'Your purchase is processing. This page will reload automatically in 8 seconds. If it does not, click <a href="%s">here</a>.', 'easy-digital-downloads' ) ), esc_url( edd_get_success_page_uri() ) );
|
||||
?>
|
||||
</p>
|
||||
<span class="edd-cart-ajax"><span class="edd-icon-spinner edd-icon-spin"></span></span>
|
||||
<script type="text/javascript">setTimeout(function(){ window.location = '<?php echo esc_url( edd_get_success_page_uri() ); ?>'; }, 8000);</script>
|
||||
</div>
|
||||
|
@ -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