Completed
Pull Request — master (#223)
by Viktor
07:44 queued 01:29
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
         $postArr['post_type'],
21 21
         [
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     return $data;
35 35
 }, 99, 2);
36 36
 
37
-add_shortcode('flyntTheContent', function ($attrs) {
37
+add_shortcode('flyntTheContent', function($attrs) {
38 38
     $postId = $attrs['id'];
39 39
     // in case the post id was not set correctly and is 0
40 40
     if (!empty($postId)) {
Please login to merge, or discard this patch.