Changeset 9698 for trunk/wp-admin/update-core.php
- Timestamp:
- 11/14/2008 10:50:46 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/update-core.php
r9670 r9698 71 71 echo '<p class="hide-if-no-js"><a id="show-dismissed" href="#">'.__('Show hidden updates').'</a></p>'; 72 72 echo '<ul id="dismissed-updates" class="core-updates dismissed">'; 73 foreach( $dismissed as $update) {73 foreach( (array) $dismissed as $update) { 74 74 echo '<li>'; 75 75 list_core_update( $update ); … … 109 109 echo '<ul class="core-updates">'; 110 110 $alternate = true; 111 foreach( $updates as $update ) {111 foreach( (array) $updates as $update ) { 112 112 $class = $alternate? ' class="alternate"' : ''; 113 113 $alternate = !$alternate;
Note: See TracChangeset
for help on using the changeset viewer.