Completed
Push — develop ( 8a861b...6459a3 )
by Remco
04:56
created
admin/tab-gateways.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,16 +47,20 @@
 block discarded – undo
47 47
 					// Provider.
48 48
 					if ( count( $name ) > 1 ) :
49 49
 						$provider = array_shift( $name );
50
-					else :
50
+					else {
51
+						:
51 52
 						$provider_name = explode( '(', $name[0] );
53
+					}
52 54
 
53 55
 						$provider = array_shift( $provider_name );
54 56
 					endif;
55 57
 
56 58
 					if ( $current_provider === $integration->provider ) :
57 59
 						$provider = '';
58
-					else :
60
+					else {
61
+						:
59 62
 						$current_provider = $integration->provider;
63
+					}
60 64
 
61 65
 						$alternate = ! $alternate;
62 66
 					endif;
Please login to merge, or discard this patch.
admin/meta-box-subscription-payments.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,13 +22,16 @@
 block discarded – undo
22 22
 
23 23
 	<?php esc_html_e( 'No payments found.', 'pronamic_ideal' ); ?>
24 24
 
25
-<?php else : ?>
25
+<?php else {
26
+	: ?>
26 27
 
27 28
 	<table class="pronamic-pay-table widefat">
28 29
 		<thead>
29 30
 			<tr>
30 31
 				<th scope="col">
31
-					<span class="pronamic-pay-tip pronamic-pay-icon pronamic-pay-status" data-tip="<?php esc_attr_e( 'Status', 'pronamic_ideal' ); ?>"><?php esc_html_e( 'Status', 'pronamic_ideal' ); ?></span>
32
+					<span class="pronamic-pay-tip pronamic-pay-icon pronamic-pay-status" data-tip="<?php esc_attr_e( 'Status', 'pronamic_ideal' );
33
+}
34
+?>"><?php esc_html_e( 'Status', 'pronamic_ideal' ); ?></span>
32 35
 				</th>
33 36
 				<th scope="col"><?php esc_html_e( 'Payment', 'pronamic_ideal' ); ?></th>
34 37
 				<th scope="col"><?php esc_html_e( 'Transaction', 'pronamic_ideal' ); ?></th>
Please login to merge, or discard this patch.
admin/meta-box-payment-subscription.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,10 +90,13 @@
 block discarded – undo
90 90
 		</tr>
91 91
 	</table>
92 92
 
93
-<?php else : ?>
93
+<?php else {
94
+	: ?>
94 95
 
95 96
 	<p>
96
-		<?php esc_html_e( 'This payment is not related to a subscription.', 'pronamic_ideal' ); ?>
97
+		<?php esc_html_e( 'This payment is not related to a subscription.', 'pronamic_ideal' );
98
+}
99
+?>
97 100
 	</p>
98 101
 
99 102
 <?php endif; ?>
Please login to merge, or discard this patch.
admin/meta-box-payment-log.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,13 +27,15 @@
 block discarded – undo
27 27
 				</td>
28 28
 			</tr>
29 29
 
30
-		<?php else : ?>
30
+		<?php else {
31
+	: ?>
31 32
 
32 33
 			<?php foreach ( $comments as $comment ) : ?>
33 34
 
34 35
 				<?php
35 36
 
36 37
 				$html_id    = 'comment-' . $comment->comment_ID;
38
+}
37 39
 				$html_class = join( ' ', get_comment_class( wp_get_comment_status( $comment->comment_ID ) ) );
38 40
 
39 41
 				?>
Please login to merge, or discard this patch.
admin/meta-box-subscription-log.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,13 +27,15 @@
 block discarded – undo
27 27
 				</td>
28 28
 			</tr>
29 29
 
30
-		<?php else : ?>
30
+		<?php else {
31
+	: ?>
31 32
 
32 33
 			<?php foreach ( $comments as $comment ) : ?>
33 34
 
34 35
 				<?php
35 36
 
36 37
 				$html_id    = 'comment-' . $comment->comment_ID;
38
+}
37 39
 				$html_class = join( ' ', get_comment_class( wp_get_comment_status( $comment->comment_ID ) ) );
38 40
 
39 41
 				?>
Please login to merge, or discard this patch.