Completed
Push — master ( bcb67f...002924 )
by Fernando
03:04
created
inc/customizer-header-fixed.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,8 @@
 block discarded – undo
1 1
 <?php
2
-if ( ! defined( 'ABSPATH' ) ) return; // Exit if accessed directly
2
+if ( ! defined( 'ABSPATH' ) ) {
3
+	return;
4
+}
5
+// Exit if accessed directly
3 6
 
4 7
 /**
5 8
  * Customizer Header Fixed Class
Please login to merge, or discard this patch.
inc/nav.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,8 @@
 block discarded – undo
1 1
 <?php
2
-if ( ! defined( 'ABSPATH' ) ) return; // Exit if accessed directly
2
+if ( ! defined( 'ABSPATH' ) ) {
3
+	return;
4
+}
5
+// Exit if accessed directly
3 6
 
4 7
 /**
5 8
  * Cleaner walker for wp_nav_menu()
Please login to merge, or discard this patch.
inc/google-font.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,8 @@
 block discarded – undo
1 1
 <?php
2
-if ( ! defined( 'ABSPATH' ) ) return; // Exit if accessed directly
2
+if ( ! defined( 'ABSPATH' ) ) {
3
+	return;
4
+}
5
+// Exit if accessed directly
3 6
 /**
4 7
  * Google_Font Class
5 8
 **/
Please login to merge, or discard this patch.
inc/comment-walker.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,8 @@  discard block
 block discarded – undo
1 1
 <?php
2
-if ( ! defined( 'ABSPATH' ) ) return; // Exit if accessed directly
2
+if ( ! defined( 'ABSPATH' ) ) {
3
+	return;
4
+}
5
+// Exit if accessed directly
3 6
 
4 7
 /**
5 8
  * lsx Comment Walker
@@ -67,7 +70,7 @@  discard block
 block discarded – undo
67 70
 	foreach($fields as &$field){
68 71
 		if(stristr('class=', $field)){
69 72
 			$field = str_replace('class="', 'class="form-control ', $field);
70
-		}else{
73
+		} else{
71 74
 			$field = str_replace('<input', '<input class="form-control" ', $field);
72 75
 		}
73 76
 	}
Please login to merge, or discard this patch.
inc/widgets.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,8 @@
 block discarded – undo
1 1
 <?php
2
-if ( ! defined( 'ABSPATH' ) ) return; // Exit if accessed directly
2
+if ( ! defined( 'ABSPATH' ) ) {
3
+	return;
4
+}
5
+// Exit if accessed directly
3 6
 
4 7
 /**
5 8
  * Register widgetized area and update sidebar with default widgets.
Please login to merge, or discard this patch.
inc/customizer-header-layout.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,8 @@
 block discarded – undo
1 1
 <?php
2
-if ( ! defined( 'ABSPATH' ) ) return; // Exit if accessed directly
2
+if ( ! defined( 'ABSPATH' ) ) {
3
+	return;
4
+}
5
+// Exit if accessed directly
3 6
 
4 7
 /**
5 8
  * Customizer Header Swatch Control Class
Please login to merge, or discard this patch.
inc/google-font-collection.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,8 @@
 block discarded – undo
1 1
 <?php
2
-if ( ! defined( 'ABSPATH' ) ) return; // Exit if accessed directly
2
+if ( ! defined( 'ABSPATH' ) ) {
3
+	return;
4
+}
5
+// Exit if accessed directly
3 6
 /**
4 7
  * Google Font_Collection Class
5 8
 **/
Please login to merge, or discard this patch.
inc/customizer.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,8 @@  discard block
 block discarded – undo
1 1
 <?php
2
-if ( ! defined( 'ABSPATH' ) ) return; // Exit if accessed directly
2
+if ( ! defined( 'ABSPATH' ) ) {
3
+	return;
4
+}
5
+// Exit if accessed directly
3 6
 
4 7
 /**
5 8
  * Customizer Configuration File
@@ -164,7 +167,7 @@  discard block
 block discarded – undo
164 167
 				$control = new $control_class( $wp_customize, $slug, array_merge( $default_args, $args ) );
165 168
 				$wp_customize->add_control( $control );
166 169
 			
167
-			}else{
170
+			} else{
168 171
 				
169 172
 				if( isset( $args['control'] ) ){
170 173
 					unset( $args['control'] );
Please login to merge, or discard this patch.
archive-jetpack-portfolio.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,11 +36,14 @@  discard block
 block discarded – undo
36 36
 				
37 37
 				<?php lsx_paging_nav(); ?>
38 38
 
39
-			<?php else : ?>
39
+			<?php else {
40
+	: ?>
40 41
 
41 42
 				<section class="no-results not-found">
42 43
 					<header class="page-header">
43
-						<h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'lsx' ); ?></h1>
44
+						<h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'lsx' );
45
+}
46
+?></h1>
44 47
 					</header><!-- .page-header -->
45 48
 
46 49
 					<div class="page-content">
@@ -48,9 +51,12 @@  discard block
 block discarded – undo
48 51
 
49 52
 							<p><?php esc_html_e( 'Ready to publish your first project?', 'lsx' ); ?> <a href="<?php echo esc_url( admin_url( 'post-new.php?post_type=jetpack-portfolio' ) ) ?>"><?php esc_html_e( 'Get started here', 'lsx' ); ?></a></p>
50 53
 
51
-						<?php else : ?>
54
+						<?php else {
55
+	: ?>
52 56
 
53
-							<p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'lsx' ); ?></p>
57
+							<p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'lsx' );
58
+}
59
+?></p>
54 60
 							<?php get_search_form(); ?>
55 61
 
56 62
 						<?php endif; ?>
Please login to merge, or discard this patch.