mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-02 03:16:11 +01:00
Nonce-verify install/uninstall themes
This commit is contained in:
@@ -384,7 +384,7 @@ class Admin
|
||||
}
|
||||
return $routes;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Count the pages
|
||||
*
|
||||
@@ -451,7 +451,7 @@ class Admin
|
||||
if (!$gpm) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
return $local ? $gpm->getInstalledThemes() : $gpm->getRepositoryThemes()->filter(function ($package, $slug) use
|
||||
(
|
||||
$gpm
|
||||
|
||||
Reference in New Issue
Block a user