mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Don't show recently EOLed branches in the supported versions table.
Changed the behaviour of get_active_branches() so that callers can choose whether to get recently EOLed branches or not. (This is basically for the supported versions page; the other callers -- namely the front page download links and bug tracker backend -- likely still want the previous behaviour.) After all, it's a little weird listing 5.5 as a supported version in the table when we just made a big deal of EOLing it!
This commit is contained in:
@@ -47,7 +47,7 @@ $VERSION_NOTES = array(
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach (get_active_branches() as $major => $releases): ?>
|
||||
<?php foreach (get_active_branches(false) as $major => $releases): ?>
|
||||
<?php ksort($releases) ?>
|
||||
<?php foreach ($releases as $branch => $release): ?>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user