Completed
Pull Request — master (#198)
by Dominik
03:32
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',
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     return $data;
32 32
 }, 99, 2);
33 33
 
34
-add_shortcode('flyntTheContent', function ($attrs) {
34
+add_shortcode('flyntTheContent', function($attrs) {
35 35
     $postId = $attrs['id'];
36 36
     // in case the post id was not set correctly and is 0
37 37
     if (!empty($postId)) {
Please login to merge, or discard this patch.