Passed
Push — master ( 2006ab...b8c845 )
by Warwick
05:16
created
includes/404-widget.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -6,27 +6,27 @@
 block discarded – undo
6 6
  * @subpackage 404-widget
7 7
  */
8 8
 
9
-if ( ! function_exists( 'lsx_widget_area_404_init' ) ) :
9
+if ( ! function_exists('lsx_widget_area_404_init')) :
10 10
 	function lsx_widget_area_404_init() {
11
-		register_sidebar( array(
12
-				'name'          => esc_html__( '404 page', 'lsx' ),
11
+		register_sidebar(array(
12
+				'name'          => esc_html__('404 page', 'lsx'),
13 13
 				'id'            => 'sidebar-404',
14 14
 				'before_widget' => '<aside id="%1$s" class="widget %2$s">',
15 15
 				'after_widget'  => '</aside>',
16 16
 				'before_title'  => '<h3 class="widget-title">',
17 17
 				'after_title'   => '</h3>',
18
-		) );
18
+		));
19 19
 	}
20 20
 
21 21
 endif;
22 22
 
23
-add_action( 'widgets_init', 'lsx_widget_area_404_init' );
23
+add_action('widgets_init', 'lsx_widget_area_404_init');
24 24
 
25
-if ( ! function_exists( 'my_search_placeholder' ) ) :
25
+if ( ! function_exists('my_search_placeholder')) :
26 26
 	function my_search_placeholder() {
27
-		return __( 'lsdev.biz', 'Total' );
27
+		return __('lsdev.biz', 'Total');
28 28
 	}
29 29
 
30 30
 endif;
31 31
 
32
-add_filter( 'search_placeholder_text', 'my_search_placeholder' );
32
+add_filter('search_placeholder_text', 'my_search_placeholder');
Please login to merge, or discard this patch.
functions.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -5,21 +5,21 @@
 block discarded – undo
5 5
  * @package lsx
6 6
  */
7 7
 
8
-if ( ! defined( 'ABSPATH' ) ) {
8
+if ( ! defined('ABSPATH')) {
9 9
 	exit;
10 10
 }
11 11
 
12
-define( 'LSX_VERSION', '2.1.4' );
12
+define('LSX_VERSION', '2.1.4');
13 13
 
14
-if ( class_exists( 'WooCommerce' ) ) {
14
+if (class_exists('WooCommerce')) {
15 15
 	require get_template_directory() . '/includes/plugins/woocommerce.php';
16 16
 }
17 17
 
18
-if ( class_exists( 'Tribe__Events__Main' ) ) {
18
+if (class_exists('Tribe__Events__Main')) {
19 19
 	require get_template_directory() . '/includes/plugins/the-events-calendar.php';
20 20
 }
21 21
 
22
-if ( class_exists( 'Sensei_WC' ) ) {
22
+if (class_exists('Sensei_WC')) {
23 23
 	require get_template_directory() . '/includes/plugins/sensei.php';
24 24
 }
25 25
 
Please login to merge, or discard this patch.