Completed
Pull Request — master (#212)
by
unknown
03:54
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.
lib/Utils/Oembed.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     public static function setSrcAsDataAttribute($iframeTagHtml, $additionalGetParams)
21 21
     {
22 22
         $output = '';
23
-        if($iframeTagHtml) {
23
+        if ($iframeTagHtml) {
24 24
             $Dom = new DOMDocument();
25 25
             $Dom->loadHTML($iframeTagHtml);
26 26
             $domNodes = $Dom->getElementsByTagName('iframe');
Please login to merge, or discard this patch.