mirror of
https://ghproxy.net/https://github.com/fairpm/fair-plugin.git
synced 2025-09-04 10:32:01 +08:00
Remove check on stable PHP versions from dashboard widget logic (#46)
Signed-off-by: Andy Fragen <andy@thefragens.com>
This commit is contained in:
parent
c156fddb3c
commit
7ecc4e0198
1 changed files with 2 additions and 2 deletions
|
@ -224,9 +224,9 @@ function check_php_version( string $version ) {
|
|||
|
||||
$cur_branch_data = $branches[ $cur_branch ];
|
||||
|
||||
if ( $cur_branch_data['state'] === 'stable' || $cur_branch_data['state'] === 'security' ) {
|
||||
if ( $cur_branch_data['state'] === 'security' ) {
|
||||
return [
|
||||
// If we're on the stable or secure branches, the recommended version
|
||||
// If we're on the security branches, the recommended version
|
||||
// should be the latest version of this branch.
|
||||
'recommended_version' => $cur_branch_data['latest'],
|
||||
'minimum_version' => MINIMUM_PHP,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue