Make WordPress Core


Ignore:
Timestamp:
03/07/2012 06:29:36 PM (15 years ago)
Author:
nacin
Message:

Deprecate display_theme(). see #19910.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-theme-install-list-table.php

    r20140 r20141  
    149149        function display_rows() {
    150150                $themes = $this->items;
    151                 $theme_names = array_keys( $themes );
    152 
    153                 foreach ( $theme_names as $theme_name ) {
     151                foreach ( $themes as $theme ) {
    154152                                ?>
    155153                                <div class="available-theme installable-theme"><?php
    156                                         if ( isset( $themes[$theme_name] ) )
    157                                                 display_theme( $themes[$theme_name] );
     154                                        $this->single_row( $theme );
    158155                                ?></div>
    159156                <?php } // end foreach $theme_names
    … …  
    161158                $this->theme_installer();
    162159        }
    163 
    164 
    165160
    166161        /*
Note: See TracChangeset for help on using the changeset viewer.