@@ -48,10 +48,13 @@ discard block |
||
| 48 | 48 | __( 'Read More', 'give' ) . ' »' |
| 49 | 49 | ); |
| 50 | 50 | |
| 51 | - else: |
|
| 51 | + else { |
|
| 52 | + : |
|
| 52 | 53 | ?> |
| 53 | 54 | <p class="give-update-button"> |
| 54 | - <span class="give-doing-update-text-p" <?php echo Give_Updates::$background_updater->is_paused_process() ? 'style="display:none;"' : ''; ?>> |
|
| 55 | + <span class="give-doing-update-text-p" <?php echo Give_Updates::$background_updater->is_paused_process() ? 'style="display:none;"' : ''; |
|
| 56 | + } |
|
| 57 | + ?>> |
|
| 55 | 58 | <?php |
| 56 | 59 | echo sprintf( |
| 57 | 60 | __( '%1$s <a href="%2$s" class="give-update-now %3$s">%4$s</a>', 'give' ), |
@@ -67,8 +70,11 @@ discard block |
||
| 67 | 70 | <span class="give-update-paused-text-p" <?php echo ! Give_Updates::$background_updater->is_paused_process() ? 'style="display:none;"' : ''; ?>> |
| 68 | 71 | <?php if ( get_option( 'give_upgrade_error' ) ) : ?> |
| 69 | 72 | <?php _e( 'An unexpected issue occurred during the database update which caused it to stop automatically. Please contact support for assistance.', 'give' ); ?> |
| 70 | - <?php else : ?> |
|
| 71 | - <?php _e( 'The updates have been paused.', 'give' ); ?> |
|
| 73 | + <?php else { |
|
| 74 | + : ?> |
|
| 75 | + <?php _e( 'The updates have been paused.', 'give' ); |
|
| 76 | +} |
|
| 77 | +?> |
|
| 72 | 78 | |
| 73 | 79 | <?php endif; ?> |
| 74 | 80 | </span> |
@@ -120,7 +126,10 @@ discard block |
||
| 120 | 126 | </div><!-- .postbox --> |
| 121 | 127 | </div> <!-- .post-container --> |
| 122 | 128 | </div> |
| 123 | - <?php else: include GIVE_PLUGIN_DIR . 'includes/admin/upgrades/views/db-upgrades-complete-metabox.php'; ?> |
|
| 129 | + <?php else { |
|
| 130 | + : include GIVE_PLUGIN_DIR . 'includes/admin/upgrades/views/db-upgrades-complete-metabox.php'; |
|
| 131 | +} |
|
| 132 | +?> |
|
| 124 | 133 | <?php endif; ?> |
| 125 | 134 | |
| 126 | 135 | <?php $plugin_updates = $give_updates->get_total_plugin_update_count(); ?> |