Passed
Push — master ( ff6050...076a54 )
by Virginia
04:26
created
partials/content-widget-review.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -6,12 +6,12 @@  discard block
 block discarded – undo
6 6
  */
7 7
 
8 8
 if ( ! defined( 'ABSPATH' ) ) {
9
-	exit;
9
+     exit;
10 10
 }
11 11
 global $comment, $stored_comment, $_product, $rating;
12 12
 $the_comment = $comment;
13 13
 if ( null !== $stored_comment ) {
14
-	$the_comment = $stored_comment;
14
+     $the_comment = $stored_comment;
15 15
 }
16 16
 ?>
17 17
 <div class="lsx-woocommerce-review-slot">
@@ -33,9 +33,9 @@  discard block
 block discarded – undo
33 33
 
34 34
 			<p class="lsx-woocommerce-reviewer">
35 35
 				<?php
36
-					/* translators: %s: review author */
37
-					echo wp_kses_post( esc_html__( 'by ', 'lsx' ) . get_comment_author( $the_comment->comment_ID ) );
38
-				?>
36
+                         /* translators: %s: review author */
37
+                         echo wp_kses_post( esc_html__( 'by ', 'lsx' ) . get_comment_author( $the_comment->comment_ID ) );
38
+                    ?>
39 39
 			</p>
40 40
 
41 41
 			<div class="lsx-woocommerce-content">
Please login to merge, or discard this patch.
page.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@  discard block
 block discarded – undo
20 20
 		<?php if ( have_posts() ) : ?>
21 21
 
22 22
 			<?php
23
-			while ( have_posts() ) :
24
-				the_post();
25
-			?>
23
+               while ( have_posts() ) :
24
+                    the_post();
25
+               ?>
26 26
 
27 27
 				<?php get_template_part( 'partials/content', 'page' ); ?>
28 28
 
@@ -37,10 +37,10 @@  discard block
 block discarded – undo
37 37
 	<?php lsx_content_after(); ?>
38 38
 
39 39
 	<?php
40
-	if ( comments_open() ) {
41
-		comments_template();
42
-	}
43
-	?>
40
+     if ( comments_open() ) {
41
+          comments_template();
42
+     }
43
+     ?>
44 44
 
45 45
 </div><!-- #primary -->
46 46
 
Please login to merge, or discard this patch.
page-templates/template-cover.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@  discard block
 block discarded – undo
24 24
 		<?php if ( have_posts() ) : ?>
25 25
 
26 26
 			<?php
27
-			while ( have_posts() ) :
28
-				the_post();
29
-				?>
27
+               while ( have_posts() ) :
28
+                    the_post();
29
+                    ?>
30 30
 
31 31
 				<?php get_template_part( 'partials/content', 'page-cover' ); ?>
32 32
 
@@ -37,10 +37,10 @@  discard block
 block discarded – undo
37 37
 		<?php lsx_content_bottom(); ?>
38 38
 
39 39
 		<?php
40
-		if ( comments_open() ) {
41
-			comments_template();
42
-		}
43
-		?>
40
+          if ( comments_open() ) {
41
+               comments_template();
42
+          }
43
+          ?>
44 44
 
45 45
 	</main><!-- #main -->
46 46
 
Please login to merge, or discard this patch.
page-templates/template-sitemap.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,9 +23,9 @@
 block discarded – undo
23 23
 		<?php if ( have_posts() ) : ?>
24 24
 
25 25
 			<?php
26
-			while ( have_posts() ) :
27
-				the_post();
28
-				?>
26
+               while ( have_posts() ) :
27
+                    the_post();
28
+                    ?>
29 29
 
30 30
 				<?php lsx_entry_before(); ?>
31 31
 
Please login to merge, or discard this patch.
page-templates/template-archives.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -23,9 +23,9 @@  discard block
 block discarded – undo
23 23
 		<?php if ( have_posts() ) : ?>
24 24
 
25 25
 			<?php
26
-			while ( have_posts() ) :
27
-				the_post();
28
-				?>
26
+               while ( have_posts() ) :
27
+                    the_post();
28
+                    ?>
29 29
 
30 30
 				<?php lsx_entry_before(); ?>
31 31
 
@@ -38,21 +38,21 @@  discard block
 block discarded – undo
38 38
 
39 39
 						<ul>
40 40
 							<?php
41
-								$loop = new WP_Query(
42
-									array(
43
-										'posts_per_page' => 30,
44
-									)
45
-								);
46
-							?>
41
+                                        $loop = new WP_Query(
42
+                                             array(
43
+                                                  'posts_per_page' => 30,
44
+                                             )
45
+                                        );
46
+                                   ?>
47 47
 
48 48
 							<?php if ( $loop->have_posts() ) : ?>
49 49
 
50 50
 								<?php while ( $loop->have_posts() ) : ?>
51 51
 
52 52
 									<?php
53
-										$loop->the_post();
54
-										$loop->is_home = false;
55
-									?>
53
+                                                  $loop->the_post();
54
+                                                  $loop->is_home = false;
55
+                                             ?>
56 56
 
57 57
 									<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> - <?php the_time( get_option( 'date_format' ) ); ?> - <?php echo esc_html( $post->comment_count ); ?> <?php esc_html_e( 'comments', 'lsx' ); ?></li>
58 58
 
Please login to merge, or discard this patch.
page-templates/template-full-width.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -23,9 +23,9 @@  discard block
 block discarded – undo
23 23
 		<?php if ( have_posts() ) : ?>
24 24
 
25 25
 			<?php
26
-			while ( have_posts() ) :
27
-				the_post();
28
-				?>
26
+               while ( have_posts() ) :
27
+                    the_post();
28
+                    ?>
29 29
 
30 30
 				<?php get_template_part( 'partials/content', 'page' ); ?>
31 31
 
@@ -36,10 +36,10 @@  discard block
 block discarded – undo
36 36
 		<?php lsx_content_bottom(); ?>
37 37
 
38 38
 		<?php
39
-		if ( comments_open() ) {
40
-			comments_template();
41
-		}
42
-		?>
39
+          if ( comments_open() ) {
40
+               comments_template();
41
+          }
42
+          ?>
43 43
 
44 44
 	</main><!-- #main -->
45 45
 
Please login to merge, or discard this patch.
archive.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,9 +22,9 @@
 block discarded – undo
22 22
 			<div class="post-wrapper">
23 23
 
24 24
 				<?php
25
-				while ( have_posts() ) :
26
-					the_post();
27
-					?>
25
+                    while ( have_posts() ) :
26
+                         the_post();
27
+                         ?>
28 28
 
29 29
 					<?php get_template_part( 'partials/content', get_post_format() ); ?>
30 30
 
Please login to merge, or discard this patch.
functions.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -8,33 +8,33 @@
 block discarded – undo
8 8
  */
9 9
 
10 10
 if ( ! defined( 'ABSPATH' ) ) {
11
-	exit;
11
+     exit;
12 12
 }
13 13
 
14 14
 define( 'LSX_VERSION', '2.9' );
15 15
 
16 16
 if ( in_array( 'wordpress-seo/wp-seo.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) || in_array( 'wordpress-seo-premium/wp-seo-premium.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
17
-	require get_template_directory() . '/includes/yoast/class-lsx-yoast.php';
17
+     require get_template_directory() . '/includes/yoast/class-lsx-yoast.php';
18 18
 }
19 19
 
20 20
 if ( class_exists( 'WooCommerce' ) ) {
21
-	require get_template_directory() . '/includes/woocommerce/woocommerce.php';
21
+     require get_template_directory() . '/includes/woocommerce/woocommerce.php';
22 22
 }
23 23
 
24 24
 if ( class_exists( 'Tribe__Events__Main' ) ) {
25
-	require get_template_directory() . '/includes/the-events-calendar/the-events-calendar.php';
25
+     require get_template_directory() . '/includes/the-events-calendar/the-events-calendar.php';
26 26
 }
27 27
 
28 28
 if ( class_exists( 'Sensei_Main' ) || class_exists( 'Sensei_WC' ) ) {
29
-	require get_template_directory() . '/includes/sensei/class-lsx-sensei.php';
29
+     require get_template_directory() . '/includes/sensei/class-lsx-sensei.php';
30 30
 }
31 31
 
32 32
 if ( class_exists( 'Popup_Maker' ) ) {
33
-	require get_template_directory() . '/includes/popup-maker/class-lsx-popup-maker.php';
33
+     require get_template_directory() . '/includes/popup-maker/class-lsx-popup-maker.php';
34 34
 }
35 35
 
36 36
 if ( class_exists( 'bbPress' ) ) {
37
-	require get_template_directory() . '/includes/bbpress/bbpress.php';
37
+     require get_template_directory() . '/includes/bbpress/bbpress.php';
38 38
 }
39 39
 
40 40
 require get_template_directory() . '/includes/config.php';
Please login to merge, or discard this patch.
page-templates/template-full-width-no-margins.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -23,9 +23,9 @@  discard block
 block discarded – undo
23 23
 		<?php if ( have_posts() ) : ?>
24 24
 
25 25
 			<?php
26
-			while ( have_posts() ) :
27
-				the_post();
28
-				?>
26
+               while ( have_posts() ) :
27
+                    the_post();
28
+                    ?>
29 29
 
30 30
 				<?php get_template_part( 'partials/content', 'page' ); ?>
31 31
 
@@ -36,10 +36,10 @@  discard block
 block discarded – undo
36 36
 		<?php lsx_content_bottom(); ?>
37 37
 
38 38
 		<?php
39
-		if ( comments_open() ) {
40
-			comments_template();
41
-		}
42
-		?>
39
+          if ( comments_open() ) {
40
+               comments_template();
41
+          }
42
+          ?>
43 43
 
44 44
 	</main><!-- #main -->
45 45
 
Please login to merge, or discard this patch.