From 637a0e9f76572d2226475e632f9cd664a2b010b8 Mon Sep 17 00:00:00 2001 From: juek Date: Thu, 11 Jan 2018 00:13:59 +0100 Subject: [PATCH] Don't show drafts in gadgets --- Admin/StaticGenerator.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Admin/StaticGenerator.php b/Admin/StaticGenerator.php index cb6712e..5ebe210 100644 --- a/Admin/StaticGenerator.php +++ b/Admin/StaticGenerator.php @@ -172,6 +172,7 @@ static function GenCategoryGadget(){ global $addonPathData; $categories = SimpleBlogCommon::AStrToArray( 'categories' ); + $post_drafts = SimpleBlogCommon::AStrToArray('drafts'); ob_start(); echo '