Passed
Push — master ( df0b27...7d4212 )
by Joseph
02:57
created
index.php 2 patches
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 
10 10
 <?php lsx_content_wrap_before(); ?>
11 11
 
12
-<div id="primary" class="content-area <?php echo esc_attr( lsx_main_class() ); ?>">
12
+<div id="primary" class="content-area <?php echo esc_attr(lsx_main_class()); ?>">
13 13
 
14 14
 	<?php lsx_content_before(); ?>
15 15
 
@@ -17,13 +17,13 @@  discard block
 block discarded – undo
17 17
 
18 18
 		<?php lsx_content_top(); ?>
19 19
 
20
-		<?php if ( have_posts() ) : ?>
20
+		<?php if (have_posts()) : ?>
21 21
 
22 22
 			<div class="post-wrapper">
23 23
 
24
-				<?php while ( have_posts() ) : the_post(); ?>
24
+				<?php while (have_posts()) : the_post(); ?>
25 25
 
26
-					<?php get_template_part( 'partials/content', get_post_format() ); ?>
26
+					<?php get_template_part('partials/content', get_post_format()); ?>
27 27
 
28 28
 				<?php endwhile; ?>
29 29
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
 		<?php else : ?>
35 35
 
36
-			<?php get_template_part( 'partials/content', 'none' ); ?>
36
+			<?php get_template_part('partials/content', 'none'); ?>
37 37
 
38 38
 		<?php endif; ?>
39 39
 
@@ -47,6 +47,6 @@  discard block
 block discarded – undo
47 47
 
48 48
 <?php lsx_content_wrap_after(); ?>
49 49
 
50
-<?php get_sidebar( 'sidebar' ); ?>
50
+<?php get_sidebar('sidebar'); ?>
51 51
 
52 52
 <?php get_footer();
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,9 +31,12 @@
 block discarded – undo
31 31
 
32 32
 			<?php lsx_paging_nav(); ?>
33 33
 
34
-		<?php else : ?>
34
+		<?php else {
35
+	: ?>
35 36
 
36
-			<?php get_template_part( 'partials/content', 'none' ); ?>
37
+			<?php get_template_part( 'partials/content', 'none' );
38
+}
39
+?>
37 40
 
38 41
 		<?php endif; ?>
39 42
 
Please login to merge, or discard this patch.
archive.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 
10 10
 <?php lsx_content_wrap_before(); ?>
11 11
 
12
-<div id="primary" class="content-area <?php echo esc_attr( lsx_main_class() ); ?>">
12
+<div id="primary" class="content-area <?php echo esc_attr(lsx_main_class()); ?>">
13 13
 
14 14
 	<?php lsx_content_before(); ?>
15 15
 
@@ -17,13 +17,13 @@  discard block
 block discarded – undo
17 17
 
18 18
 		<?php lsx_content_top(); ?>
19 19
 
20
-		<?php if ( have_posts() ) : ?>
20
+		<?php if (have_posts()) : ?>
21 21
 
22 22
 			<div class="post-wrapper">
23 23
 
24
-				<?php while ( have_posts() ) : the_post(); ?>
24
+				<?php while (have_posts()) : the_post(); ?>
25 25
 
26
-					<?php get_template_part( 'partials/content', get_post_format() ); ?>
26
+					<?php get_template_part('partials/content', get_post_format()); ?>
27 27
 
28 28
 				<?php endwhile; ?>
29 29
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
 		<?php else : ?>
35 35
 
36
-			<?php get_template_part( 'partials/content', 'none' ); ?>
36
+			<?php get_template_part('partials/content', 'none'); ?>
37 37
 
38 38
 		<?php endif; ?>
39 39
 
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,9 +31,12 @@
 block discarded – undo
31 31
 
32 32
 			<?php lsx_paging_nav(); ?>
33 33
 
34
-		<?php else : ?>
34
+		<?php else {
35
+	: ?>
35 36
 
36
-			<?php get_template_part( 'partials/content', 'none' ); ?>
37
+			<?php get_template_part( 'partials/content', 'none' );
38
+}
39
+?>
37 40
 
38 41
 		<?php endif; ?>
39 42
 
Please login to merge, or discard this patch.
searchform.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -7,28 +7,28 @@
 block discarded – undo
7 7
 
8 8
 $style = 'body #searchform { display: block; }';
9 9
 
10
-if ( is_customize_preview() ) {
11
-	$search_form = get_theme_mod( 'lsx_header_search', false );
10
+if (is_customize_preview()) {
11
+	$search_form = get_theme_mod('lsx_header_search', false);
12 12
 
13
-	if ( false === $search_form ) {
13
+	if (false === $search_form) {
14 14
 		$style = 'body #searchform { display: none; }';
15 15
 	}
16 16
 }
17 17
 ?>
18 18
 
19
-<form role="search" method="get" class="search-form form-inline" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
19
+<form role="search" method="get" class="search-form form-inline" id="searchform" action="<?php echo esc_url(home_url('/')); ?>">
20 20
 	<div class="input-group">
21
-		<input type="search" value="<?php if ( is_search() ) { echo get_search_query(); } ?>" name="s" class="search-field form-control" placeholder="<?php esc_attr_e( 'Search', 'lsx' ); ?> <?php echo esc_attr( get_bloginfo( 'name' ) ); ?>">
22
-		<label class="hide"><?php esc_attr_e( 'Search for:', 'lsx' ); ?></label>
21
+		<input type="search" value="<?php if (is_search()) { echo get_search_query(); } ?>" name="s" class="search-field form-control" placeholder="<?php esc_attr_e('Search', 'lsx'); ?> <?php echo esc_attr(get_bloginfo('name')); ?>">
22
+		<label class="hide"><?php esc_attr_e('Search for:', 'lsx'); ?></label>
23 23
 
24 24
 		<span class="input-group-btn">
25 25
 			<button type="submit" class="search-submit btn btn-default"><span class="fa fa-search"></span></button>
26 26
 		</span>
27 27
 	</div>
28 28
 
29
-	<?php if ( is_customize_preview() ) : ?>
29
+	<?php if (is_customize_preview()) : ?>
30 30
 		<style id="lsx-header-search-css">
31
-			<?php echo esc_attr( $style ); ?>
31
+			<?php echo esc_attr($style); ?>
32 32
 		</style>
33 33
 	<?php endif; ?>
34 34
 </form>
Please login to merge, or discard this patch.
page-templates/template-full-width.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,11 +20,11 @@  discard block
 block discarded – undo
20 20
 
21 21
 		<?php lsx_content_top(); ?>
22 22
 
23
-		<?php if ( have_posts() ) : ?>
23
+		<?php if (have_posts()) : ?>
24 24
 
25
-			<?php while ( have_posts() ) : the_post(); ?>
25
+			<?php while (have_posts()) : the_post(); ?>
26 26
 
27
-				<?php get_template_part( 'partials/content', 'page' ); ?>
27
+				<?php get_template_part('partials/content', 'page'); ?>
28 28
 
29 29
 			<?php endwhile; ?>
30 30
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 		<?php lsx_content_bottom(); ?>
34 34
 
35 35
 		<?php
36
-			if ( comments_open() ) {
36
+			if (comments_open()) {
37 37
 				comments_template();
38 38
 			}
39 39
 		?>
Please login to merge, or discard this patch.
header.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,14 +11,14 @@
 block discarded – undo
11 11
 <html <?php language_attributes(); ?>>
12 12
 	<head>
13 13
 		<?php lsx_head_top(); ?>
14
-		<meta charset="<?php bloginfo( 'charset' ); ?>">
14
+		<meta charset="<?php bloginfo('charset'); ?>">
15 15
 		<link rel="profile" href="http://gmpg.org/xfn/11">
16
-		<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
16
+		<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
17 17
 		<?php lsx_head_bottom(); ?>
18 18
 		<?php wp_head(); ?>
19 19
 	</head>
20 20
 
21
-	<body <?php body_class( 'lsx' ); ?>>
21
+	<body <?php body_class('lsx'); ?>>
22 22
 		<?php lsx_body_top(); ?>
23 23
 
24 24
 		<div class="header-wrap">
Please login to merge, or discard this patch.
includes/nav-bootstrap-navwalker.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -7,11 +7,11 @@  discard block
 block discarded – undo
7 7
  * @category   bootstrap-navigation-walker
8 8
  */
9 9
 
10
-if ( ! defined( 'ABSPATH' ) ) {
10
+if ( ! defined('ABSPATH')) {
11 11
 	exit;
12 12
 }
13 13
 
14
-if ( ! function_exists( 'lsx_wpml_nav_language_switcher_fix' ) ) :
14
+if ( ! function_exists('lsx_wpml_nav_language_switcher_fix')) :
15 15
 
16 16
 	/**
17 17
 	 * Add in our custom classes to the menus.
@@ -20,12 +20,12 @@  discard block
 block discarded – undo
20 20
 	 * @subpackage navigation
21 21
 	 * @category   bootstrap-navigation-walker
22 22
 	 */
23
-	function lsx_wpml_nav_language_switcher_fix( $items, $args ) {
24
-		$items = str_replace( 'menu-item-language-current','menu-item-language-current dropdown', $items );
25
-		$items = str_replace( 'submenu-languages','submenu-languages dropdown-menu', $items );
23
+	function lsx_wpml_nav_language_switcher_fix($items, $args) {
24
+		$items = str_replace('menu-item-language-current', 'menu-item-language-current dropdown', $items);
25
+		$items = str_replace('submenu-languages', 'submenu-languages dropdown-menu', $items);
26 26
 		return $items;
27 27
 	}
28 28
 
29 29
 endif;
30 30
 
31
-add_filter( 'wp_nav_menu_items', 'lsx_wpml_nav_language_switcher_fix', 10, 2 );
31
+add_filter('wp_nav_menu_items', 'lsx_wpml_nav_language_switcher_fix', 10, 2);
Please login to merge, or discard this patch.
includes/sanitize.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 	 * @param  mixed    $value      The value to sanitize.
22 22
 	 * @param  mixed    $setting    The setting for which the sanitizing is occurring.
23 23
 	 * @return mixed                The sanitized value.
24
-	*/
24
+	 */
25 25
 	function lsx_sanitize_choices( $value, $setting ) {
26 26
 		if ( is_object( $setting ) ) {
27 27
 			$setting = $setting->id;
Please login to merge, or discard this patch.
Spacing   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -6,11 +6,11 @@  discard block
 block discarded – undo
6 6
  * @subpackage sanitize
7 7
  */
8 8
 
9
-if ( ! defined( 'ABSPATH' ) ) {
9
+if ( ! defined('ABSPATH')) {
10 10
 	exit;
11 11
 }
12 12
 
13
-if ( ! function_exists( 'lsx_sanitize_choices' ) ) :
13
+if ( ! function_exists('lsx_sanitize_choices')) :
14 14
 
15 15
 	/**
16 16
 	 * Sanitize a value from a list of allowed values.
@@ -22,18 +22,18 @@  discard block
 block discarded – undo
22 22
 	 * @param  mixed    $setting    The setting for which the sanitizing is occurring.
23 23
 	 * @return mixed                The sanitized value.
24 24
 	*/
25
-	function lsx_sanitize_choices( $value, $setting ) {
26
-		if ( is_object( $setting ) ) {
25
+	function lsx_sanitize_choices($value, $setting) {
26
+		if (is_object($setting)) {
27 27
 			$setting = $setting->id;
28 28
 		}
29 29
 
30
-		$choices = lsx_customizer_sanitize_get_choices( $setting );
30
+		$choices = lsx_customizer_sanitize_get_choices($setting);
31 31
 
32
-		if ( ! is_wp_error( $choices ) && ! empty( $choices ) ) {
33
-			$allowed_choices = array_keys( $choices );
32
+		if ( ! is_wp_error($choices) && ! empty($choices)) {
33
+			$allowed_choices = array_keys($choices);
34 34
 
35
-			if ( ! in_array( $value, $allowed_choices ) ) {
36
-				$value = lsx_customizer_sanitize_get_default( $setting );
35
+			if ( ! in_array($value, $allowed_choices)) {
36
+				$value = lsx_customizer_sanitize_get_default($setting);
37 37
 			}
38 38
 
39 39
 			return $value;
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
 endif;
46 46
 
47
-if ( ! function_exists( 'lsx_customizer_sanitize_get_choices' ) ) :
47
+if ( ! function_exists('lsx_customizer_sanitize_get_choices')) :
48 48
 
49 49
 	/**
50 50
 	 * Helper function to return the choices for a field.
@@ -55,14 +55,14 @@  discard block
 block discarded – undo
55 55
 	 * @param string
56 56
 	 * @return mixed $field
57 57
 	 */
58
-	function lsx_customizer_sanitize_get_choices( $id ) {
58
+	function lsx_customizer_sanitize_get_choices($id) {
59 59
 		global $lsx_customizer;
60 60
 
61
-		$can_validate = method_exists( 'WP_Customize_Setting', 'validate' );
62
-		$field        = $lsx_customizer->get_control( $id );
61
+		$can_validate = method_exists('WP_Customize_Setting', 'validate');
62
+		$field        = $lsx_customizer->get_control($id);
63 63
 
64
-		if ( ! isset( $field['choices'] ) ) {
65
-			return $can_validate ? new WP_Error( 'notexists', esc_html__( 'Choice doesn\'t exist', 'lsx' ) ) : false;
64
+		if ( ! isset($field['choices'])) {
65
+			return $can_validate ? new WP_Error('notexists', esc_html__('Choice doesn\'t exist', 'lsx')) : false;
66 66
 		}
67 67
 
68 68
 		return $field['choices'];
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 
71 71
 endif;
72 72
 
73
-if ( ! function_exists( 'lsx_customizer_sanitize_get_default' ) ) :
73
+if ( ! function_exists('lsx_customizer_sanitize_get_default')) :
74 74
 
75 75
 	/**
76 76
 	 * Helper function to return defaults.
@@ -81,11 +81,11 @@  discard block
 block discarded – undo
81 81
 	 * @param string
82 82
 	 * @return mixed $default
83 83
 	 */
84
-	function lsx_customizer_sanitize_get_default( $id ) {
84
+	function lsx_customizer_sanitize_get_default($id) {
85 85
 		global $lsx_customizer;
86
-		$setting = $lsx_customizer->get_setting( $id );
86
+		$setting = $lsx_customizer->get_setting($id);
87 87
 
88
-		if ( isset( $setting['default'] ) ) {
88
+		if (isset($setting['default'])) {
89 89
 			return $setting['default'];
90 90
 		}
91 91
 
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 
95 95
 endif;
96 96
 
97
-if ( ! function_exists( 'lsx_sanitize_checkbox' ) ) :
97
+if ( ! function_exists('lsx_sanitize_checkbox')) :
98 98
 
99 99
 	/**
100 100
 	 * Sanitizes an single or multiple checkbox input.
@@ -105,11 +105,11 @@  discard block
 block discarded – undo
105 105
 	 * @param array $input
106 106
 	 * @return array $output
107 107
 	 */
108
-	function lsx_sanitize_checkbox( $input ) {
109
-		$can_validate = method_exists( 'WP_Customize_Setting', 'validate' );
108
+	function lsx_sanitize_checkbox($input) {
109
+		$can_validate = method_exists('WP_Customize_Setting', 'validate');
110 110
 
111
-		if ( ! is_bool( $input ) ) {
112
-			return $can_validate ? new WP_Error( 'notboolean', esc_html__( 'Not a boolean', 'lsx' ) ) : false;
111
+		if ( ! is_bool($input)) {
112
+			return $can_validate ? new WP_Error('notboolean', esc_html__('Not a boolean', 'lsx')) : false;
113 113
 		}
114 114
 
115 115
 		return $input;
Please login to merge, or discard this patch.
includes/nav-navwalker.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -7,13 +7,13 @@  discard block
 block discarded – undo
7 7
  * @category   bootstrap-walker
8 8
  */
9 9
 
10
-if ( ! defined( 'ABSPATH' ) ) {
10
+if ( ! defined('ABSPATH')) {
11 11
 	exit;
12 12
 }
13 13
 
14
-add_filter( 'nav_menu_item_id', '__return_null' );
14
+add_filter('nav_menu_item_id', '__return_null');
15 15
 
16
-if ( ! function_exists( 'lsx_nav_menu_css_class' ) ) :
16
+if ( ! function_exists('lsx_nav_menu_css_class')) :
17 17
 
18 18
 	/**
19 19
 	 * Remove the id="" on nav menu items.
@@ -23,22 +23,22 @@  discard block
 block discarded – undo
23 23
 	 * @subpackage navigation
24 24
 	 * @category   bootstrap-walker
25 25
 	 */
26
-	function lsx_nav_menu_css_class( $classes, $item ) {
27
-		$slug    = sanitize_title( $item->title );
28
-		$classes = preg_replace( '/(current(-menu-|[-_]page[-_])(item|parent|ancestor))/', 'active', $classes );
29
-		$classes = preg_replace( '/^((menu|page)[-_\w+]+)+/', '', $classes );
26
+	function lsx_nav_menu_css_class($classes, $item) {
27
+		$slug    = sanitize_title($item->title);
28
+		$classes = preg_replace('/(current(-menu-|[-_]page[-_])(item|parent|ancestor))/', 'active', $classes);
29
+		$classes = preg_replace('/^((menu|page)[-_\w+]+)+/', '', $classes);
30 30
 
31 31
 		$classes[] = 'menu-' . $slug;
32
-		$classes   = array_unique( $classes );
32
+		$classes   = array_unique($classes);
33 33
 
34
-		return array_filter( $classes, 'lsx_is_element_empty' );
34
+		return array_filter($classes, 'lsx_is_element_empty');
35 35
 	}
36 36
 
37 37
 endif;
38 38
 
39
-add_filter( 'nav_menu_css_class', 'lsx_nav_menu_css_class', 10, 2 );
39
+add_filter('nav_menu_css_class', 'lsx_nav_menu_css_class', 10, 2);
40 40
 
41
-if ( ! function_exists( 'lsx_nav_menu_args' ) ) :
41
+if ( ! function_exists('lsx_nav_menu_args')) :
42 42
 
43 43
 	/**
44 44
 	 * Clean up wp_nav_menu_args.
@@ -50,24 +50,24 @@  discard block
 block discarded – undo
50 50
 	 * @subpackage navigation
51 51
 	 * @category   bootstrap-walker
52 52
 	 */
53
-	function lsx_nav_menu_args( $args = '' ) {
53
+	function lsx_nav_menu_args($args = '') {
54 54
 		$roots_nav_menu_args['container'] = false;
55 55
 
56
-		if ( ! $args['items_wrap'] ) {
56
+		if ( ! $args['items_wrap']) {
57 57
 			$roots_nav_menu_args['items_wrap'] = '<ul class="%2$s">%3$s</ul>';
58 58
 		}
59 59
 
60
-		if ( current_theme_supports( 'bootstrap-top-navbar' ) && ! $args['depth'] ) {
60
+		if (current_theme_supports('bootstrap-top-navbar') && ! $args['depth']) {
61 61
 			$roots_nav_menu_args['depth'] = 2;
62 62
 		}
63 63
 
64
-		if ( ! $args['walker'] ) {
64
+		if ( ! $args['walker']) {
65 65
 			$roots_nav_menu_args['walker'] = new LSX_Nav_Walker();
66 66
 		}
67 67
 
68
-		return array_merge( $args, $roots_nav_menu_args );
68
+		return array_merge($args, $roots_nav_menu_args);
69 69
 	}
70 70
 
71 71
 endif;
72 72
 
73
-add_filter( 'wp_nav_menu_args', 'lsx_nav_menu_args' );
73
+add_filter('wp_nav_menu_args', 'lsx_nav_menu_args');
Please login to merge, or discard this patch.
includes/walker-comment.php 1 patch
Spacing   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -6,11 +6,11 @@  discard block
 block discarded – undo
6 6
  * @subpackage comment-walker
7 7
  */
8 8
 
9
-if ( ! defined( 'ABSPATH' ) ) {
9
+if ( ! defined('ABSPATH')) {
10 10
 	exit;
11 11
 }
12 12
 
13
-if ( ! function_exists( 'lsx_get_avatar' ) ) :
13
+if ( ! function_exists('lsx_get_avatar')) :
14 14
 
15 15
 	/**
16 16
 	 * Comment Form Field Filter.
@@ -18,25 +18,25 @@  discard block
 block discarded – undo
18 18
 	 * @package    lsx
19 19
 	 * @subpackage comment-walker
20 20
 	 */
21
-	function lsx_get_avatar( $avatar ) {
22
-		$avatar = str_replace( "class='avatar", "class='avatar pull-left media-object ", $avatar );
23
-		$avatar = str_replace( 'class="avatar', 'class="avatar pull-left media-object ', $avatar );
21
+	function lsx_get_avatar($avatar) {
22
+		$avatar = str_replace("class='avatar", "class='avatar pull-left media-object ", $avatar);
23
+		$avatar = str_replace('class="avatar', 'class="avatar pull-left media-object ', $avatar);
24 24
 		return $avatar;
25 25
 	}
26 26
 
27 27
 endif;
28 28
 
29
-add_filter( 'get_avatar', 'lsx_get_avatar' );
29
+add_filter('get_avatar', 'lsx_get_avatar');
30 30
 
31
-add_action( 'admin_bar_menu', function() {
32
-	remove_filter( 'get_avatar', 'lsx_get_avatar' );
33
-}, 0 );
31
+add_action('admin_bar_menu', function() {
32
+	remove_filter('get_avatar', 'lsx_get_avatar');
33
+}, 0);
34 34
 
35
-add_action( 'wp_after_admin_bar_render', function() {
36
-	add_filter( 'get_avatar','lsx_get_avatar' );
35
+add_action('wp_after_admin_bar_render', function() {
36
+	add_filter('get_avatar', 'lsx_get_avatar');
37 37
 } );
38 38
 
39
-if ( ! function_exists( 'lsx_comment_form_fields_filter' ) ) :
39
+if ( ! function_exists('lsx_comment_form_fields_filter')) :
40 40
 
41 41
 	/**
42 42
 	 * Comment Form Field Filter.
@@ -44,12 +44,12 @@  discard block
 block discarded – undo
44 44
 	 * @package    lsx
45 45
 	 * @subpackage comment-walker
46 46
 	 */
47
-	function lsx_comment_form_fields_filter( $fields ) {
48
-		foreach ( $fields as &$field ) {
49
-			if ( stristr( 'class=', $field ) ) {
50
-				$field = str_replace( 'class="', 'class="form-control ', $field );
47
+	function lsx_comment_form_fields_filter($fields) {
48
+		foreach ($fields as &$field) {
49
+			if (stristr('class=', $field)) {
50
+				$field = str_replace('class="', 'class="form-control ', $field);
51 51
 			} else {
52
-				$field = str_replace( '<input', '<input class="form-control" ', $field );
52
+				$field = str_replace('<input', '<input class="form-control" ', $field);
53 53
 			}
54 54
 		}
55 55
 
@@ -58,4 +58,4 @@  discard block
 block discarded – undo
58 58
 
59 59
 endif;
60 60
 
61
-add_filter( 'comment_form_default_fields', 'lsx_comment_form_fields_filter' );
61
+add_filter('comment_form_default_fields', 'lsx_comment_form_fields_filter');
Please login to merge, or discard this patch.