Completed
Pull Request — master (#198)
by Dominik
03:23
created
inc/theContentFix.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     }
16 16
 }
17 17
 
18
-add_filter('wp_insert_post_data', function ($data, $postArr) {
18
+add_filter('wp_insert_post_data', function($data, $postArr) {
19 19
     if (in_array([
20 20
         'revision',
21 21
         'nav_menu_item',
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     return $data;
31 31
 }, 99, 2);
32 32
 
33
-add_shortcode('flyntTheContent', function ($attrs) {
33
+add_shortcode('flyntTheContent', function($attrs) {
34 34
     $postId = $attrs['id'];
35 35
     if (!empty($postId)) {
36 36
         $context = Timber::get_context();
Please login to merge, or discard this patch.