Skip to content

Commit

Permalink
Merge branch 'release/1.10.26'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Jan 3, 2022
2 parents 21ba082 + 5bfc5ee commit 18ca8e3
Show file tree
Hide file tree
Showing 51 changed files with 1,300 additions and 6,545 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# v1.10.26
## 01/03/2022

2. [](#improved)
* Updated SCSS compiler to v1.9 and other vendor libraries
* Fixed various deprecation warnings
* Localized dialog buttons and icons [#2207](https://github.com/getgrav/grav-plugin-admin/pull/2207)
* Updated copyright year

# v1.10.25
## 11/16/2021

Expand Down
6 changes: 3 additions & 3 deletions admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -452,11 +452,11 @@ public function onPagesInitialized()
$legacyController = true;
}

/** @var UserInterface $user */
$user = $this->grav['user'];

// Replace page service with admin.
if (empty($this->grav['page'])) {
/** @var UserInterface $user */
$user = $this->grav['user'];

$this->grav['page'] = function () use ($user) {
$page = new Page();

Expand Down
2 changes: 1 addition & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Admin Panel
slug: admin
type: plugin
version: 1.10.25
version: 1.10.26
description: Adds an advanced administration panel to manage your site
icon: empire
author:
Expand Down
2 changes: 1 addition & 1 deletion classes/plugin/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -2407,7 +2407,7 @@ public function getLogFiles()
/**
* Get changelog for a given GPM package based on slug
*
* @param null $slug
* @param string|null $slug
* @return array
*/
public function getChangelog($slug = null)
Expand Down
2 changes: 1 addition & 1 deletion classes/plugin/AdminForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @package Grav\Plugin\Admin
*
* @copyright Copyright (c) 2015 - 2021 Trilby Media, LLC. All rights reserved.
* @copyright Copyright (c) 2015 - 2022 Trilby Media, LLC. All rights reserved.
* @license MIT License; see LICENSE file for details.
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/plugin/Controllers/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @package Grav\Plugin\Admin
*
* @copyright Copyright (c) 2015 - 2021 Trilby Media, LLC. All rights reserved.
* @copyright Copyright (c) 2015 - 2022 Trilby Media, LLC. All rights reserved.
* @license MIT License; see LICENSE file for details.
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/plugin/Controllers/Login/LoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @package Grav\Plugin\Admin
*
* @copyright Copyright (c) 2015 - 2021 Trilby Media, LLC. All rights reserved.
* @copyright Copyright (c) 2015 - 2022 Trilby Media, LLC. All rights reserved.
* @license MIT License; see LICENSE file for details.
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/plugin/Routers/LoginRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @package Grav\Plugin\Admin
*
* @copyright Copyright (c) 2015 - 2021 Trilby Media, LLC. All rights reserved.
* @copyright Copyright (c) 2015 - 2022 Trilby Media, LLC. All rights reserved.
* @license MIT License; see LICENSE file for details.
*/

Expand Down
Loading

0 comments on commit 18ca8e3

Please sign in to comment.