Passed
Push — master ( 54b8f2...ba36ac )
by Warwick
07:49
created
templates/taxonomy-plan-type.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@  discard block
 block discarded – undo
10 10
 <?php lsx_content_wrap_before(); ?>
11 11
 
12 12
 <?php
13
-	$restricted = false;
14
-	$page_id    = get_the_ID();
15
-	$redirect   = '/content-restricted/?r=' . $page_id . '&wcm_redirect_to=archive&wcm_redirect_id=' . $page_id;
13
+     $restricted = false;
14
+     $page_id    = get_the_ID();
15
+     $redirect   = '/content-restricted/?r=' . $page_id . '&wcm_redirect_to=archive&wcm_redirect_id=' . $page_id;
16 16
 ?>
17 17
 
18 18
 	<div id="primary" class="content-area <?php echo esc_attr( lsx_main_class() ); ?>">
@@ -21,8 +21,8 @@  discard block
 block discarded – undo
21 21
 
22 22
 		<!-- Begining restricted content -->
23 23
 		<?php
24
-		if ( ! function_exists( 'wc_memberships_view_restricted_post_content' ) || ( current_user_can( 'wc_memberships_view_restricted_post_content', $post_id ) ) ) {
25
-			?>
24
+          if ( ! function_exists( 'wc_memberships_view_restricted_post_content' ) || ( current_user_can( 'wc_memberships_view_restricted_post_content', $post_id ) ) ) {
25
+               ?>
26 26
 			<main id="main" role="main">
27 27
 
28 28
 				<?php lsx_content_top(); ?>
@@ -31,9 +31,9 @@  discard block
 block discarded – undo
31 31
 					<div class="row">
32 32
 						<?php if ( have_posts() ) : ?>
33 33
 							<?php
34
-							while ( have_posts() ) :
35
-								the_post();
36
-								?>
34
+                                   while ( have_posts() ) :
35
+                                        the_post();
36
+                                        ?>
37 37
 
38 38
 								<?php include LSX_HEALTH_PLAN_PATH . '/templates/content-archive-plan.php'; ?>
39 39
 
@@ -52,11 +52,11 @@  discard block
 block discarded – undo
52 52
 			</main><!-- #main -->
53 53
 
54 54
 			<?php
55
-		} else {
56
-			wp_redirect( $redirect );
57
-			exit;
58
-		}
59
-		?>
55
+          } else {
56
+               wp_redirect( $redirect );
57
+               exit;
58
+          }
59
+          ?>
60 60
 
61 61
 <?php lsx_content_after(); ?>
62 62
 
Please login to merge, or discard this patch.