Completed
Push — master ( c22bd5...1ffdfe )
by Devin
13s
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/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/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.
includes/admin/forms/class-metabox-form-data.php 1 patch
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -641,9 +641,12 @@  discard block
 block discarded – undo
641 641
 							<a href="#<?php echo $form_data_tab['id']; ?>">
642 642
 								<?php if ( ! empty( $form_data_tab['icon-html'] ) ) : ?>
643 643
 									<?php echo $form_data_tab['icon-html']; ?>
644
-								<?php else : ?>
644
+								<?php else {
645
+	: ?>
645 646
 									<span class="give-icon give-icon-default"></span>
646
-								<?php endif; ?>
647
+								<?php endif;
648
+}
649
+?>
647 650
 								<span class="give-label"><?php echo $form_data_tab['label']; ?></span>
648 651
 							</a>
649 652
 							<?php if ( $this->has_sub_tab( $form_data_tab ) ) : ?>
@@ -653,9 +656,12 @@  discard block
 block discarded – undo
653 656
 											<a href="#<?php echo $sub_tab['id']; ?>">
654 657
 												<?php if ( ! empty( $sub_tab['icon-html'] ) ) : ?>
655 658
 													<?php echo $sub_tab['icon-html']; ?>
656
-												<?php else : ?>
659
+												<?php else {
660
+	: ?>
657 661
 													<span class="give-icon give-icon-default"></span>
658
-												<?php endif; ?>
662
+												<?php endif;
663
+}
664
+?>
659 665
 												<span class="give-label"><?php echo $sub_tab['label']; ?></span>
660 666
 											</a>
661 667
 										</li>
@@ -682,11 +688,14 @@  discard block
 block discarded – undo
682 688
 						</div>
683 689
 
684 690
 						<?php do_action( "give_after_{$setting['id']}_settings" ); ?>
685
-					<?php else: ?>
691
+					<?php else {
692
+	: ?>
686 693
 						<?php if ( $this->has_sub_tab( $setting ) ) : ?>
687 694
 							<?php if ( ! empty( $setting['sub-fields'] ) ) : ?>
688 695
 								<?php foreach ( $setting['sub-fields'] as $index => $sub_fields ) : ?>
689
-									<div id="<?php echo $sub_fields['id']; ?>"
696
+									<div id="<?php echo $sub_fields['id'];
697
+}
698
+?>"
690 699
 										 class="panel give_options_panel give-hidden">
691 700
 										<?php if ( ! empty( $sub_fields['fields'] ) ) : ?>
692 701
 											<?php foreach ( $sub_fields['fields'] as $sub_field ) : ?>
Please login to merge, or discard this patch.
includes/forms/template.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1042,9 +1042,12 @@
 block discarded – undo
1042 1042
 					}
1043 1043
 					?>
1044 1044
                 </select>
1045
-			<?php else : ?>
1045
+			<?php else {
1046
+	: ?>
1046 1047
                 <input type="text" size="6" name="card_state" id="card_state" class="card_state give-input"
1047
-                       placeholder="<?php esc_attr_e( 'State / Province', 'give' ); ?>"/>
1048
+                       placeholder="<?php esc_attr_e( 'State / Province', 'give' );
1049
+}
1050
+?>"/>
1048 1051
 			<?php endif; ?>
1049 1052
         </p>
1050 1053
 		<?php
Please login to merge, or discard this patch.
includes/admin/EDD_SL_Plugin_Updater.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 // Exit if accessed directly
4
-if ( ! defined( 'ABSPATH' ) ) exit;
4
+if ( ! defined( 'ABSPATH' ) ) {
5
+	exit;
6
+}
5 7
 
6 8
 /**
7 9
  * Allows plugins to use their own update API.
Please login to merge, or discard this patch.