mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00:00
introduce WP_List_Table::views(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15578 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -41,19 +41,11 @@ include('./admin-header.php');
|
||||
<?php screen_icon(); ?>
|
||||
<h2><?php echo esc_html( $title ); ?></h2>
|
||||
|
||||
<ul class="subsubsub">
|
||||
<?php
|
||||
$display_tabs = array();
|
||||
foreach ( (array) $tabs as $action => $text ) {
|
||||
$sep = ( end($tabs) != $text ) ? ' | ' : '';
|
||||
$class = ( $action == $tab ) ? ' class="current"' : '';
|
||||
$href = admin_url('plugin-install.php?tab=' . $action);
|
||||
echo "\t\t<li><a href='$href'$class>$text</a>$sep</li>\n";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
<br class="clear" />
|
||||
<?php do_action('install_plugins_' . $tab, $paged); ?>
|
||||
<?php $wp_list_table->views(); ?>
|
||||
|
||||
<br class="clear" />
|
||||
<?php do_action('install_plugins_' . $tab, $paged); ?>
|
||||
</div>
|
||||
<?php
|
||||
include('./admin-footer.php');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user