Don't have awkward alternate color classes for core updates on update-core. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16421 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b6f252c241
commit
3a722d53c8
@ -151,9 +151,7 @@ function core_upgrade_preamble() {
|
|||||||
echo '<ul class="core-updates">';
|
echo '<ul class="core-updates">';
|
||||||
$alternate = true;
|
$alternate = true;
|
||||||
foreach( (array) $updates as $update ) {
|
foreach( (array) $updates as $update ) {
|
||||||
$class = $alternate? ' class="alternate"' : '';
|
echo '<li>';
|
||||||
$alternate = !$alternate;
|
|
||||||
echo "<li $class>";
|
|
||||||
list_core_update( $update );
|
list_core_update( $update );
|
||||||
echo '</li>';
|
echo '</li>';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user