From 7cf7b477bcf1f5e8d8ef65de595550ccfda55653 Mon Sep 17 00:00:00 2001 From: abuyoyo Date: Wed, 4 Oct 2023 01:29:04 +0300 Subject: [PATCH] PluginCore - set update_checker to true. If Plugin-Update-Checker library (v4|v5) is available - enables updates from repo. --- notice-manager.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/notice-manager.php b/notice-manager.php index d1c0cf0..df6c9b5 100644 --- a/notice-manager.php +++ b/notice-manager.php @@ -69,12 +69,13 @@ new PluginCore( 'type' => 'checkbox', 'description' => 'Notice Panel is closed on page load. Requires auto_collect.' ], - ] - ] - ] - ] - ] - ] + ], + ], + ], + ], + ], + 'update_checker' => true, // If Plugin Update Checker library is available - allow updates/auto-updates. + ], ); require_once 'src/NoticeManager.php';