Passed
Push — development ( 49bf8e...a44edd )
by
unknown
02:05
created
woocommerce/myaccount/form-login.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,9 +95,12 @@
 block discarded – undo
95 95
 					<input type="password" class="woocommerce-Input woocommerce-Input--text input-text form-control" name="password" id="reg_password" autocomplete="new-password"/>
96 96
 				</p>
97 97
 
98
-			<?php else : ?>
98
+			<?php else {
99
+	: ?>
99 100
 
100
-				<p><?php esc_html_e( 'A password will be sent to your email address.', 'spurs' ); ?></p>
101
+				<p><?php esc_html_e( 'A password will be sent to your email address.', 'spurs' );
102
+}
103
+?></p>
101 104
 
102 105
 			<?php endif; ?>
103 106
 
Please login to merge, or discard this patch.
archive.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
 		 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
35 35
 		 */
36 36
 		get_template_part( 'templates/loop/content', get_post_format() );
37
-			    endwhile; ?>
37
+				endwhile; ?>
38 38
             </div>
39 39
         </div>
40 40
     </div>
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@
 block discarded – undo
10 10
 // Exit if accessed directly.
11 11
 defined( 'ABSPATH' ) || exit;
12 12
 
13
-if (!is_front_page() && function_exists('yoast_breadcrumb')) {
14
-	yoast_breadcrumb('<div id="breadcrumbs">', '</div>');
13
+if ( ! is_front_page() && function_exists( 'yoast_breadcrumb' ) ) {
14
+	yoast_breadcrumb( '<div id="breadcrumbs">', '</div>' );
15 15
 }
16 16
 
17 17
 if ( have_posts() ) : ?>
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,6 +39,8 @@
 block discarded – undo
39 39
         </div>
40 40
     </div>
41 41
     <?php
42
-else :
42
+else {
43
+	:
43 44
 	get_template_part( 'templates/loop/content', 'none' );
45
+}
44 46
 endif;
Please login to merge, or discard this patch.
index.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,8 +38,10 @@
 block discarded – undo
38 38
 				 */
39 39
 				get_template_part( 'templates/loop/content', get_post_format() );
40 40
 			endwhile;
41
-			else :
41
+			else {
42
+				:
42 43
 				get_template_part( 'templates/loop/content', 'none' );
44
+			}
43 45
 			endif;
44 46
 			?>
45 47
         </div>
Please login to merge, or discard this patch.
templates/loop/content.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -23,15 +23,15 @@
 block discarded – undo
23 23
 	            <?php spurs_posted_on(); ?>
24 24
                 <div class="categories pb-3">
25 25
                     <?php
26
-                    $category = spurs_get_primary_term( 'category' );
27
-                    if ( $category instanceof WP_Term ) {
28
-                        printf(
29
-                            '<a href="%1$s"><span class="category">%2$s</span></a>',
30
-                            get_term_link($category),
31
-                            esc_html( $category->name )
32
-                        );
33
-                    }
34
-                    ?>
26
+					$category = spurs_get_primary_term( 'category' );
27
+					if ( $category instanceof WP_Term ) {
28
+						printf(
29
+							'<a href="%1$s"><span class="category">%2$s</span></a>',
30
+							get_term_link($category),
31
+							esc_html( $category->name )
32
+						);
33
+					}
34
+					?>
35 35
                 </div>
36 36
             </div>
37 37
 		<?php endif; ?>
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 global $post;
12 12
 ?>
13 13
 
14
-<article <?php post_class('card'); ?> id="post-<?php the_ID(); ?>">
14
+<article <?php post_class( 'card' ); ?> id="post-<?php the_ID(); ?>">
15 15
     <div class="card-img-top img-wrapper">
16 16
         <a class="no-uppercase no-underline" href="<?php echo get_the_permalink(); ?>">
17 17
             <span class="bg-image" <?php bg( get_the_post_thumbnail_url(), false, true, 'height: 270px' ); ?>></span>
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
                     if ( $category instanceof WP_Term ) {
28 28
                         printf(
29 29
                             '<a href="%1$s"><span class="category">%2$s</span></a>',
30
-                            get_term_link($category),
30
+                            get_term_link( $category ),
31 31
                             esc_html( $category->name )
32 32
                         );
33 33
                     }
Please login to merge, or discard this patch.