Completed
Pull Request — master (#1201)
by Ravinder
23:20
created
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   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1001,8 +1001,11 @@  discard block
 block discarded – undo
1001 1001
 					}
1002 1002
 					?>
1003 1003
 				</select>
1004
-			<?php else : ?>
1005
-				<input type="text" size="6" name="card_state" id="card_state" class="card_state give-input" placeholder="<?php esc_attr_e( 'State / Province', 'give' ); ?>"/>
1004
+			<?php else {
1005
+	: ?>
1006
+				<input type="text" size="6" name="card_state" id="card_state" class="card_state give-input" placeholder="<?php esc_attr_e( 'State / Province', 'give' );
1007
+}
1008
+?>"/>
1006 1009
 			<?php endif; ?>
1007 1010
 		</p>
1008 1011
 		<?php
@@ -1288,7 +1291,10 @@  discard block
 block discarded – undo
1288 1291
 	do_action( 'give_payment_mode_top', $form_id );
1289 1292
 	?>
1290 1293
 
1291
-	<fieldset id="give-payment-mode-select" <?php if ( count($gateways) <= 1 ) echo 'style="display: none;"'; ?>>
1294
+	<fieldset id="give-payment-mode-select" <?php if ( count($gateways) <= 1 ) {
1295
+	echo 'style="display: none;"';
1296
+}
1297
+?>>
1292 1298
 		<?php
1293 1299
 		/**
1294 1300
 		 * Fires while selecting payment gateways, before the wrap div.
Please login to merge, or discard this patch.