@@ -613,8 +613,11 @@ |
||
| 613 | 613 | return window.confirm('<?php echo esc_js( __( 'It is recommended that you backup your database before proceeding. Do you want to run the update now?', 'give' ) ); ?>'); // jshint ignore:line |
| 614 | 614 | }); |
| 615 | 615 | </script> |
| 616 | - <?php else: ?> |
|
| 617 | - <strong><?php _e( 'Database Update', 'give' ); ?></strong> |
|
| 616 | + <?php else { |
|
| 617 | + : ?> |
|
| 618 | + <strong><?php _e( 'Database Update', 'give' ); |
|
| 619 | +} |
|
| 620 | +?></strong> |
|
| 618 | 621 | – <?php _e( 'An unexpected issue occurred during the database update which caused it to stop automatically. Please contact support for assistance.', 'give' ); ?> |
| 619 | 622 | <?php |
| 620 | 623 | endif; |
@@ -55,8 +55,11 @@ |
||
| 55 | 55 | <span class="give-update-paused-text-p" <?php echo ! Give_Updates::$background_updater->is_paused_process() ? 'style="display:none;"' : ''; ?>> |
| 56 | 56 | <?php if ( get_option( 'give_upgrade_error' ) ) : ?> |
| 57 | 57 | <?php _e( 'An unexpected issue occurred during the database update which caused it to stop automatically. Please contact support for assistance.', 'give' ); ?> |
| 58 | - <?php else : ?> |
|
| 59 | - <?php _e( 'The updates have been paused.', 'give' ); ?> |
|
| 58 | + <?php else { |
|
| 59 | + : ?> |
|
| 60 | + <?php _e( 'The updates have been paused.', 'give' ); |
|
| 61 | +} |
|
| 62 | +?> |
|
| 60 | 63 | |
| 61 | 64 | <?php endif; ?> |
| 62 | 65 | </span> |
@@ -189,12 +189,14 @@ |
||
| 189 | 189 | ?> |
| 190 | 190 | |
| 191 | 191 | <?php |
| 192 | -else : |
|
| 192 | +else { |
|
| 193 | + : |
|
| 193 | 194 | if ( isset( $_GET['updated'] ) && 'true' === $_GET['updated'] && ! give_get_errors() ) { |
| 194 | 195 | if ( isset( $_GET['update_code'] ) ) { |
| 195 | 196 | switch ( $_GET['update_code'] ) { |
| 196 | 197 | case '2': |
| 197 | 198 | printf( '<p class="give_success"><strong>%1$s</strong> %2$s</p>', esc_html__( 'Success:', 'give' ), esc_html__( 'Your profile and password has been updated.', 'give' ) ); |
| 199 | +} |
|
| 198 | 200 | _e( 'Login with your new credentials.', 'give' ); |
| 199 | 201 | echo give_login_form(); |
| 200 | 202 | break; |