Completed
Push — master ( a44550...e36c7f )
by Fernando
03:41 queued 01:07
created
inc/woocommerce.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,8 +69,8 @@
 block discarded – undo
69 69
 add_filter( 'woocommerce_enqueue_styles', '__return_empty_array' );
70 70
 
71 71
 function lsx_woocommerce_styles() {
72
-    wp_enqueue_style( 'woocommerce-layout', get_template_directory_uri() . '/css/woocommerce-layout.css', array(), LSX_VERSION, 'all' );
73
-    wp_enqueue_style( 'woocommerce-smallscreen', get_template_directory_uri() . '/css/woocommerce-smallscreen.css', array( 'woocommerce-layout' ), LSX_VERSION, 'only screen and (max-width: 767px)' );
74
-    wp_enqueue_style( 'woocommerce-general', get_template_directory_uri() . '/css/woocommerce.css', array(), LSX_VERSION, 'all' );
72
+	wp_enqueue_style( 'woocommerce-layout', get_template_directory_uri() . '/css/woocommerce-layout.css', array(), LSX_VERSION, 'all' );
73
+	wp_enqueue_style( 'woocommerce-smallscreen', get_template_directory_uri() . '/css/woocommerce-smallscreen.css', array( 'woocommerce-layout' ), LSX_VERSION, 'only screen and (max-width: 767px)' );
74
+	wp_enqueue_style( 'woocommerce-general', get_template_directory_uri() . '/css/woocommerce.css', array(), LSX_VERSION, 'all' );
75 75
 }
76 76
 add_action( 'wp_enqueue_scripts', 'lsx_woocommerce_styles' );
77 77
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@  discard block
 block discarded – undo
9 9
 /*
10 10
  * Hooks
11 11
  */
12
-remove_action( 'woocommerce_before_main_content', 'woocommerce_output_content_wrapper', 10);
13
-remove_action( 'woocommerce_after_main_content', 'woocommerce_output_content_wrapper_end', 10);
12
+remove_action('woocommerce_before_main_content', 'woocommerce_output_content_wrapper', 10);
13
+remove_action('woocommerce_after_main_content', 'woocommerce_output_content_wrapper_end', 10);
14 14
 
15 15
 add_action('woocommerce_before_main_content', 'lsx_woocommerce_before_content', 10);
16 16
 add_action('woocommerce_after_main_content', 'lsx_woocommerce_after_content', 10);
@@ -25,10 +25,10 @@  discard block
 block discarded – undo
25 25
  * @subpackage woocommerce
26 26
  * @category 	layout
27 27
  */
28
-function lsx_woocommerce_before_content(){ ?>
28
+function lsx_woocommerce_before_content() { ?>
29 29
 	<?php lsx_content_wrap_before(); ?>
30 30
 
31
-	<div id="primary" class="content-area <?php echo esc_attr( lsx_main_class() ); ?>">
31
+	<div id="primary" class="content-area <?php echo esc_attr(lsx_main_class()); ?>">
32 32
 
33 33
 		<?php lsx_content_before(); ?>
34 34
 
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
  * @subpackage woocommerce
44 44
  * @category 	layout
45 45
  */
46
-function lsx_woocommerce_after_content(){ ?>
46
+function lsx_woocommerce_after_content() { ?>
47 47
 		<?php lsx_content_bottom(); ?>
48 48
 
49 49
 		</main><!-- #main -->
@@ -66,11 +66,11 @@  discard block
 block discarded – undo
66 66
  * @subpackage woocommerce
67 67
  * @category 	styles
68 68
  */
69
-add_filter( 'woocommerce_enqueue_styles', '__return_empty_array' );
69
+add_filter('woocommerce_enqueue_styles', '__return_empty_array');
70 70
 
71 71
 function lsx_woocommerce_styles() {
72
-    wp_enqueue_style( 'woocommerce-layout', get_template_directory_uri() . '/css/woocommerce-layout.css', array(), LSX_VERSION, 'all' );
73
-    wp_enqueue_style( 'woocommerce-smallscreen', get_template_directory_uri() . '/css/woocommerce-smallscreen.css', array( 'woocommerce-layout' ), LSX_VERSION, 'only screen and (max-width: 767px)' );
74
-    wp_enqueue_style( 'woocommerce-general', get_template_directory_uri() . '/css/woocommerce.css', array(), LSX_VERSION, 'all' );
72
+    wp_enqueue_style('woocommerce-layout', get_template_directory_uri() . '/css/woocommerce-layout.css', array(), LSX_VERSION, 'all');
73
+    wp_enqueue_style('woocommerce-smallscreen', get_template_directory_uri() . '/css/woocommerce-smallscreen.css', array('woocommerce-layout'), LSX_VERSION, 'only screen and (max-width: 767px)');
74
+    wp_enqueue_style('woocommerce-general', get_template_directory_uri() . '/css/woocommerce.css', array(), LSX_VERSION, 'all');
75 75
 }
76
-add_action( 'wp_enqueue_scripts', 'lsx_woocommerce_styles' );
77 76
\ No newline at end of file
77
+add_action('wp_enqueue_scripts', 'lsx_woocommerce_styles');
78 78
\ No newline at end of file
Please login to merge, or discard this patch.