File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 33use Kirby \Cms \App as Kirby ;
44use Kirby \Plugin \License as KirbyLicense ;
55use Kirby \Plugin \LicenseStatus as KirbyLicenseStatus ;
6+ use Kirby \Toolkit \I18n ;
67
78@include_once __DIR__ . '/vendor/autoload.php ' ;
89
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 )
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments