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:
Andrew Nacin 2010-11-17 05:58:26 +00:00
parent b6f252c241
commit 3a722d53c8

View File

@ -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>';
} }