diff --git a/CHANGELOG.md b/CHANGELOG.md index 84174bc9..58257c03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ * Use new `Http\Response` rather than deprecated `GPM\Response` 3. [](#bugfix) * Fixed an issue with invalid HTML throwing errors on HTML security scanning + * Clear cache when installing plugins # v1.10.23 ## 09/29/2021 diff --git a/classes/plugin/Gpm.php b/classes/plugin/Gpm.php index 344dab10..0879eaf0 100644 --- a/classes/plugin/Gpm.php +++ b/classes/plugin/Gpm.php @@ -118,6 +118,8 @@ class Gpm } } + Cache::clearCache(); + return $messages ?: true; } @@ -190,6 +192,8 @@ class Gpm } } + Cache::clearCache(); + return true; } @@ -277,6 +281,7 @@ class Gpm } Folder::delete($tmp_zip); + Cache::clearCache(); return true; }