Completed
Pull Request — master (#210)
by
unknown
03:42
created
inc/theme.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-add_action('after_setup_theme', function () {
3
+add_action('after_setup_theme', function() {
4 4
     add_theme_support('title-tag');
5 5
     add_theme_support('post-thumbnails');
6 6
 
Please login to merge, or discard this patch.
inc/cleanHead.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,11 +28,11 @@  discard block
 block discarded – undo
28 28
  * Remove self-closing tag
29 29
  *
30 30
  */
31
-add_action('init', function () {
31
+add_action('init', function() {
32 32
     // Originally from http://wpengineer.com/1438/wordpress-header/
33 33
     remove_action('wp_head', 'feed_links_extra', 3);
34 34
     add_action('wp_head', 'ob_start', 1, 0);
35
-    add_action('wp_head', function () {
35
+    add_action('wp_head', function() {
36 36
         $pattern = '/.*' . preg_quote(esc_url(get_feed_link('comments_' . get_default_feed())), '/') . '.*[\r\n]+/';
37 37
         echo preg_replace($pattern, '', ob_get_clean());
38 38
     }, 3, 0);
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
  *
61 61
  * Clean up output of stylesheet <link> tags
62 62
  */
63
-add_filter('style_loader_tag', function ($input) {
63
+add_filter('style_loader_tag', function($input) {
64 64
     preg_match_all(
65 65
         "!<link rel='stylesheet'\s?(id='[^']+')?\s+href='(.*)' type='text/css' media='(.*)' />!",
66 66
         $input,
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
  */
80 80
 global $wp_version;
81 81
 if (version_compare($wp_version, '5.3', '<')) {
82
-    add_filter('script_loader_tag', function ($input) {
82
+    add_filter('script_loader_tag', function($input) {
83 83
         return preg_replace(["#\s(type)='[^']+'#", '/\s{2,}/'], ['', ' '], $input);
84 84
     });
85 85
 }
Please login to merge, or discard this patch.