Skip to content

Commit

Permalink
Merge branch 'release/1.9.13'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Mar 5, 2020
2 parents cd5de12 + c49dba7 commit 7b8a6ea
Show file tree
Hide file tree
Showing 15 changed files with 576 additions and 385 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# v1.9.13
## 03/05/2020

1. [](#improved)
* Updated vendor libs
1. [](#bugfix)
* Fixed toggleable buttons no longer holding false state [form#406](ttps://github.com/getgrav/grav-plugin-form/issues/406)

# v1.9.12
## 12/04/2019

Expand Down
4 changes: 2 additions & 2 deletions blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Admin Panel
version: 1.9.12
version: 1.9.13
testing: false
description: Adds an advanced administration panel to manage your site
icon: empire
Expand All @@ -14,7 +14,7 @@ docs: https://github.com/getgrav/grav-plugin-admin/blob/develop/README.md
license: MIT

dependencies:
- { name: grav, version: '>=1.6.8' }
- { name: grav, version: '>=1.6.22' }
- { name: form, version: '>=3.0.0' }
- { name: login, version: '>=3.0.0' }
- { name: email, version: '>=3.0.0' }
Expand Down
5 changes: 4 additions & 1 deletion classes/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -1671,8 +1671,11 @@ public function generateReports()
{
$reports = new ArrayCollection();

/** @var Pages $pages */
$pages = $this->grav['pages'];

// Default to XSS Security Report
$result = Security::detectXssFromPages($this->grav['pages'], true);
$result = Security::detectXssFromPages($pages, true);

$reports['Grav Security Check'] = $this->grav['twig']->processTemplate('reports/security.html.twig', [
'result' => $result,
Expand Down
Loading

0 comments on commit 7b8a6ea

Please sign in to comment.