Changeset 11013 for trunk/wp-admin/includes/theme-install.php
- Timestamp:
- 04/20/2009 06:18:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/theme-install.php
r11005 r11013 404 404 $rows = ceil(count($themes) / 3); 405 405 $table = array(); 406 $theme_keys = array_keys($themes); 407 for ( $row = 1; $row <= $rows; $row++ ) 408 for ( $col = 1; $col <= 3; $col++ ) 409 $table[$row][$col] = array_shift($theme_keys); 406 $theme_keys = array_keys($themes); 407 for ( $row = 1; $row <= $rows; $row++ ) 408 for ( $col = 1; $col <= 3; $col++ ) 409 $table[$row][$col] = array_shift($theme_keys); 410 410 411 411 foreach ( $table as $row => $cols ) { … … 422 422 ?> 423 423 <td class="<?php echo join(' ', $class); ?>"><?php 424 if ( isset($themes[$theme_index]) ) 425 display_theme($themes[$theme_index]); 424 if ( isset($themes[$theme_index]) ) 425 display_theme($themes[$theme_index]); 426 426 ?></td> 427 427 <?php } // end foreach $cols ?>
Note: See TracChangeset
for help on using the changeset viewer.