WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/05/2010 09:26:27 PM (11 years ago)
Author:
scribu
Message:

introduce WP_List_Table::views(). See #14579

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugin-install.php

    r15528 r15578  
    4242<h2><?php echo esc_html( $title ); ?></h2>
    4343
    44     <ul class="subsubsub">
    45 <?php
    46 $display_tabs = array();
    47 foreach ( (array) $tabs as $action => $text ) {
    48     $sep = ( end($tabs) != $text ) ? ' | ' : '';
    49     $class = ( $action == $tab ) ? ' class="current"' : '';
    50     $href = admin_url('plugin-install.php?tab=' . $action);
    51     echo "\t\t<li><a href='$href'$class>$text</a>$sep</li>\n";
    52 }
    53 ?>
    54     </ul>
    55     <br class="clear" />
    56     <?php do_action('install_plugins_' . $tab, $paged); ?>
     44<?php $wp_list_table->views(); ?>
     45
     46<br class="clear" />
     47<?php do_action('install_plugins_' . $tab, $paged); ?>
    5748</div>
    5849<?php
    5950include('./admin-footer.php');
     51
Note: See TracChangeset for help on using the changeset viewer.