fix php 8 warning
This commit is contained in:
parent
3afd015fee
commit
fb2fbc26d9
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ class Gitea_Updater {
|
||||||
return isset( $headers['Version'] ) ? $headers['Version'] : false;
|
return isset( $headers['Version'] ) ? $headers['Version'] : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function plugins_api( $default = false, $action, $args ) {
|
function plugins_api( $default, $action, $args ) {
|
||||||
if ( 'plugin_information' != $action ) {
|
if ( 'plugin_information' != $action ) {
|
||||||
return $default;
|
return $default;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue