fix old php
This commit is contained in:
parent
6607c32dd7
commit
8c874117c8
2 changed files with 3 additions and 3 deletions
|
|
@ -95,7 +95,7 @@ class Gitea_Options {
|
|||
<li>
|
||||
<input type="password" class="token"
|
||||
name="gitea_options[host_token][<?= $repository ?>]"
|
||||
value="<?= $options['host_token'][ $repository ] ?? '' ?>"
|
||||
value="<?= isset( $options['host_token'][ $repository ] ) ? $options['host_token'][ $repository ] : '' ?>"
|
||||
placeholder="<?= __( 'Global Access Token', 'gitea' ) ?>">
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -111,7 +111,7 @@ class Gitea_Options {
|
|||
<li class="input">
|
||||
<input type="password" class="token"
|
||||
name="gitea_options[repo_token][<?= $package['url'] ?>]"
|
||||
value="<?= $options['repo_token'][ $package['url'] ] ?? '' ?>"
|
||||
value="<?= isset( $options['repo_token'][ $package['url'] ] ) ? $options['repo_token'][ $package['url'] ] : '' ?>"
|
||||
placeholder="<?= __( 'Access Token', 'gitea' ) ?>">
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
* Plugin Name: Gitea Updater
|
||||
* Plugin URI: http://www.paucapo.com
|
||||
* Description: Plugins updater
|
||||
* Version: 0.3.12
|
||||
* Version: 0.3.13
|
||||
* Author: Pau Capó
|
||||
* Author URI: http://www.paucapo.com
|
||||
* Text Domain: gitea
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue