@@ -55,8 +55,11 @@ discard block |
||
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> |
@@ -108,7 +111,10 @@ discard block |
||
108 | 111 | </div><!-- .postbox --> |
109 | 112 | </div> <!-- .post-container --> |
110 | 113 | </div> |
111 | - <?php else: include GIVE_PLUGIN_DIR . 'includes/admin/upgrades/views/db-upgrades-complete-metabox.php';?> |
|
114 | + <?php else { |
|
115 | + : include GIVE_PLUGIN_DIR . 'includes/admin/upgrades/views/db-upgrades-complete-metabox.php'; |
|
116 | +} |
|
117 | +?> |
|
112 | 118 | <?php endif; ?> |
113 | 119 | |
114 | 120 | <?php $plugin_updates = $give_updates->get_total_plugin_update_count(); ?> |
@@ -615,8 +615,11 @@ |
||
615 | 615 | <a href="<?php echo esc_url( add_query_arg( array( 'give-restart-db-upgrades' => 1 ), admin_url( 'edit.php?post_type=give_forms&page=give-updates' ) ) ); ?>" class="button button-primary give-restart-updater-btn"> |
616 | 616 | <?php _e( 'Restart the updater', 'give' ); ?> |
617 | 617 | </a> |
618 | - <?php else: ?> |
|
619 | - <strong><?php _e( 'Database Update', 'give' ); ?></strong> |
|
618 | + <?php else { |
|
619 | + : ?> |
|
620 | + <strong><?php _e( 'Database Update', 'give' ); |
|
621 | +} |
|
622 | +?></strong> |
|
620 | 623 | – <?php _e( 'An unexpected issue occurred during the database update which caused it to stop automatically. Please contact support for assistance.', 'give' ); ?> |
621 | 624 | <a href="<?php echo esc_url('http://docs.givewp.com/troubleshooting-db-updates')?>" target="_blank"><?php _e( 'Read More', 'give' ); ?> »</a> |
622 | 625 | <?php |