From b3602e9ea68a2d45560b3b992c749498a39acbdc Mon Sep 17 00:00:00 2001 From: Giorgio KM Date: Mon, 12 Jun 2017 10:36:00 +0200 Subject: [PATCH] Fix v0.18.1 --- dist/MetaBoxesHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/MetaBoxesHandler.class.php b/dist/MetaBoxesHandler.class.php index 94e05c3..d673630 100644 --- a/dist/MetaBoxesHandler.class.php +++ b/dist/MetaBoxesHandler.class.php @@ -403,7 +403,7 @@ public function setFeatureSupport($arrLabels = array(), $description = false) { add_filter('admin_post_thumbnail_html', function($content) use($description) { global $post; - if ($post->post_type == $this->postType) + if ($post->post_type != $this->postType) return $content; if (!$this->isFeaturedAdded)