Passed
Pull Request — master (#320)
by
unknown
03:25
created
inc/featuredImageFallback.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
     ],
17 17
 ]);
18 18
 
19
-add_filter('post_thumbnail_html', function ($html, $post_id, $post_thumbnail_id, $size, $attr) {
19
+add_filter('post_thumbnail_html', function($html, $post_id, $post_thumbnail_id, $size, $attr) {
20 20
 
21 21
     $fallbackFeaturedImageOptions = Options::getGlobal('FeaturedImageFallback');
22 22
     $fallbackFeaturedImage = $fallbackFeaturedImageOptions['image'];
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     return $html;
41 41
 }, 5);
42 42
 
43
-add_filter('get_post_metadata', function ($null, $object_id, $meta_key, $single) {
43
+add_filter('get_post_metadata', function($null, $object_id, $meta_key, $single) {
44 44
     // Only affect thumbnails on the frontend, do allow ajax calls.
45 45
     if ((is_admin() && (!defined('DOING_AJAX') || !DOING_AJAX))) {
46 46
         return $null;
Please login to merge, or discard this patch.