mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-07 11:56:32 +02:00
Merge branch 'develop' into 1.9
This commit is contained in:
@@ -362,6 +362,9 @@ class AdminPlugin extends Plugin
|
||||
// Make local copy of POST.
|
||||
$post = $this->grav['uri']->post();
|
||||
|
||||
// Initialize Page Types
|
||||
Pages::types();
|
||||
|
||||
// Handle tasks.
|
||||
$this->admin->task = $task = !empty($post['task']) ? $post['task'] : $this->uri->param('task');
|
||||
if ($task) {
|
||||
|
||||
Reference in New Issue
Block a user