Completed
Push — master ( 699283...1c7488 )
by Devin
34:40 queued 14:42
created
includes/admin/upgrades/upgrades.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,11 +64,14 @@
 block discarded – undo
64 64
 				}, 250 );
65 65
 			</script>
66 66
 
67
-		<?php else : ?>
67
+		<?php else {
68
+	: ?>
68 69
 
69 70
 			<div id="give-upgrade-status">
70 71
 				<p style="font-size: 20px;max-width: 900px;">
71
-					<?php esc_html_e( 'The upgrade process has started, please be patient and do not close this window or navigate away from this page. This could take several minutes depending on the upgrade and the size of your website. You will be automatically redirected when the upgrade is finished.', 'give' ); ?>
72
+					<?php esc_html_e( 'The upgrade process has started, please be patient and do not close this window or navigate away from this page. This could take several minutes depending on the upgrade and the size of your website. You will be automatically redirected when the upgrade is finished.', 'give' );
73
+}
74
+?>
72 75
 					<img src="<?php echo GIVE_PLUGIN_URL . '/assets/images/spinner.gif'; ?>" id="give-upgrade-loader" style="  position: relative; top: 3px; left: 6px;" />
73 76
 				</p>
74 77
 			</div>
Please login to merge, or discard this patch.
includes/class-give-license-handler.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -689,7 +689,7 @@
 block discarded – undo
689 689
 								"{$this->checkout_url}?edd_license_key={$subscription['license_key']}&utm_campaign=admin&utm_source=licenses&utm_medium=expired",
690 690
 								esc_url( add_query_arg( '_give_hide_license_notices_permanently', $subscription['id'], $_SERVER['REQUEST_URI'] ) )
691 691
 							);
692
-						}else{
692
+						} else{
693 693
 							$messages[$subscription['id']] = sprintf(
694 694
 								__( 'You Give addon license will expire in %s for payment <a href="%s" target="_blank">#%d</a>. <a href="%s" target="_blank">Click to renew an existing license</a> or <a href="%s">Click here if already renewed</a>.', 'give' ),
695 695
 								human_time_diff( current_time( 'timestamp', 1 ), strtotime( $subscription['expires'] ) ),
Please login to merge, or discard this patch.
includes/forms/template.php 1 patch
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -592,7 +592,7 @@  discard block
 block discarded – undo
592 592
 
593 593
 	if( 'button' === $display_option ) {
594 594
 		$display_option = 'modal';
595
-	}elseif ( $display_option === 'onpage' ) {
595
+	} elseif ( $display_option === 'onpage' ) {
596 596
 		return '';
597 597
 	}
598 598
 
@@ -1033,9 +1033,12 @@  discard block
 block discarded – undo
1033 1033
 					}
1034 1034
 					?>
1035 1035
 				</select>
1036
-			<?php else : ?>
1036
+			<?php else {
1037
+	: ?>
1037 1038
 				<input type="text" size="6" name="card_state" id="card_state" class="card_state give-input"
1038
-				       placeholder="<?php esc_attr_e( 'State / Province', 'give' ); ?>"/>
1039
+				       placeholder="<?php esc_attr_e( 'State / Province', 'give' );
1040
+}
1041
+?>"/>
1039 1042
 			<?php endif; ?>
1040 1043
 		</p>
1041 1044
 		<?php
Please login to merge, or discard this patch.
includes/admin/tools/views/html-admin-page-system-info.php 1 patch
Braces   +16 added lines, -5 removed lines patch added patch discarded remove patch
@@ -57,7 +57,12 @@  discard block
 block discarded – undo
57 57
 		<tr>
58 58
 			<td data-export-label="WP Multisite"><?php _e( 'WP Multisite', 'give' ); ?>:</td>
59 59
 			<td class="help"><span class="give-tooltip give-icon give-icon-question" data-tooltip="<?php echo esc_attr( __( 'Whether or not you have WordPress Multisite enabled.', 'give' ) ); ?>"></span></td>
60
-			<td><?php if ( is_multisite() ) echo '<span class="dashicons dashicons-yes"></span>'; else echo '&ndash;'; ?></td>
60
+			<td><?php if ( is_multisite() ) {
61
+	echo '<span class="dashicons dashicons-yes"></span>';
62
+} else {
63
+	echo '&ndash;';
64
+}
65
+?></td>
61 66
 		</tr>
62 67
 		<tr>
63 68
 			<td data-export-label="WP Memory Limit"><?php _e( 'WP Memory Limit', 'give' ); ?>:</td>
@@ -85,9 +90,12 @@  discard block
 block discarded – undo
85 90
 			<td>
86 91
 				<?php if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) : ?>
87 92
 					<mark class="yes"><span class="dashicons dashicons-yes"></span></mark>
88
-				<?php else : ?>
93
+				<?php else {
94
+	: ?>
89 95
 					<mark class="no">&ndash;</mark>
90
-				<?php endif; ?>
96
+				<?php endif;
97
+}
98
+?>
91 99
 			</td>
92 100
 		</tr>
93 101
 		<tr>
@@ -96,9 +104,12 @@  discard block
 block discarded – undo
96 104
 			<td>
97 105
 				<?php if ( defined( 'DISABLE_WP_CRON' ) && DISABLE_WP_CRON ) : ?>
98 106
 					<mark class="no">&ndash;</mark>
99
-				<?php else : ?>
107
+				<?php else {
108
+	: ?>
100 109
 					<mark class="yes"><span class="dashicons dashicons-yes"></span></mark>
101
-				<?php endif; ?>
110
+				<?php endif;
111
+}
112
+?>
102 113
 			</td>
103 114
 		</tr>
104 115
 		<tr>
Please login to merge, or discard this patch.
includes/admin/forms/class-metabox-form-data.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -663,11 +663,14 @@
 block discarded – undo
663 663
                         </div>
664 664
 
665 665
 						<?php do_action( "give_after_{$setting['id']}_settings" ); ?>
666
-					<?php else: ?>
666
+					<?php else {
667
+	: ?>
667 668
 						<?php if ( $this->has_sub_tab( $setting ) ) : ?>
668 669
 							<?php if ( ! empty( $setting['sub-fields'] ) ) : ?>
669 670
 								<?php foreach ( $setting['sub-fields'] as $index => $sub_fields ) : ?>
670
-                                    <div id="<?php echo $sub_fields['id']; ?>"
671
+                                    <div id="<?php echo $sub_fields['id'];
672
+}
673
+?>"
671 674
                                          class="panel give_options_panel give-hidden">
672 675
 										<?php if ( ! empty( $sub_fields['fields'] ) ) : ?>
673 676
 											<?php foreach ( $sub_fields['fields'] as $sub_field ) : ?>
Please login to merge, or discard this patch.
includes/admin/views/html-admin-settings.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,5 +95,8 @@
 block discarded – undo
95 95
 			<?php endif; ?>
96 96
 		<?php echo $form_close_tag; ?>
97 97
 	</div>
98
-	<?php else : echo '<div class="error"><p>' . __( 'Oops, this settings page does not exist.', 'give' ) . '</p></div>'; ?>
98
+	<?php else {
99
+	: echo '<div class="error"><p>' . __( 'Oops, this settings page does not exist.', 'give' ) . '</p></div>';
100
+}
101
+?>
99 102
 <?php endif; ?>
100 103
\ No newline at end of file
Please login to merge, or discard this patch.