Completed
Push — constructionplanless_theConten... ( 4a0b59 )
by Dominik
03:11 queued 01:42
created
inc/theContentFix.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 use Timber\Timber;
4 4
 
5
-add_filter('wp_insert_post_data', function ($data, $postArr) {
5
+add_filter('wp_insert_post_data', function($data, $postArr) {
6 6
     if ($postArr['post_type'] === 'revision') {
7 7
         return $data;
8 8
     }
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
     return $data;
13 13
 }, 99, 2);
14 14
 
15
-add_shortcode('flyntTheContent', function ($attrs) {
15
+add_shortcode('flyntTheContent', function($attrs) {
16 16
     $postId = $attrs['id'];
17 17
 
18 18
     $context = getTimberDefaultContext($postId);
Please login to merge, or discard this patch.