diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php
index 9647ee0fae..9c20c92d78 100644
--- a/wp-admin/update-core.php
+++ b/wp-admin/update-core.php
@@ -70,7 +70,7 @@ function dismissed_updates() {
'.__('Show hidden updates').'
';
echo '';
- foreach($dismissed as $update) {
+ foreach( (array) $dismissed as $update) {
echo '- ';
list_core_update( $update );
echo '
';
@@ -108,7 +108,7 @@ function core_upgrade_preamble() {
echo '';
$alternate = true;
- foreach( $updates as $update ) {
+ foreach( (array) $updates as $update ) {
$class = $alternate? ' class="alternate"' : '';
$alternate = !$alternate;
echo "- ";