Skip to content

Commit aca49f3

Browse files
chore: update Zero One edition license details
1 parent b175798 commit aca49f3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

zero-one/index.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
use Kirby\Cms\App as Kirby;
44
use Kirby\Plugin\License as KirbyLicense;
55
use Kirby\Plugin\LicenseStatus as KirbyLicenseStatus;
6+
use Kirby\Toolkit\I18n;
67

78
@include_once __DIR__ . '/vendor/autoload.php';
89

@@ -24,7 +25,7 @@
2425
link: 'https://kirby.tools/license/zero-one-edition',
2526
status: new KirbyLicenseStatus(
2627
value: 'active',
27-
label: 'Licensed',
28+
label: I18n::translate('license.status.active.label'),
2829
icon: 'check',
2930
theme: 'positive'
3031
)

zero-one/src/extensions/api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
$urlResolver = $kirby->option('johannschopplich.seo-audit.proxy.urlResolver');
5757
$params = $kirby->option('johannschopplich.seo-audit.proxy.params', []);
5858

59-
if (is_callable($urlResolver)) {
59+
if ($urlResolver instanceof Closure) {
6060
$url = $urlResolver($url);
6161
}
6262

0 commit comments

Comments
 (0)