Fix all link. Props mtekk. see #9527
git-svn-id: https://develop.svn.wordpress.org/trunk@11039 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4fefd15731
commit
677a8f5387
@ -439,7 +439,7 @@ function print_plugin_actions($context) {
|
||||
<?php
|
||||
$status_links = array();
|
||||
$class = ( 'all' == $status ) ? ' class="current"' : '';
|
||||
$status_links[] = "<li><a href='plugins.php' $class>" . sprintf( _n( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_all_plugins ), number_format_i18n( $total_all_plugins ) ) . '</a>';
|
||||
$status_links[] = "<li><a href='plugins.php?plugin_status=all' $class>" . sprintf( _n( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_all_plugins ), number_format_i18n( $total_all_plugins ) ) . '</a>';
|
||||
if ( ! empty($active_plugins) ) {
|
||||
$class = ( 'active' == $status ) ? ' class="current"' : '';
|
||||
$status_links[] = "<li><a href='plugins.php?plugin_status=active' $class>" . sprintf( _n( 'Active <span class="count">(%s)</span>', 'Active <span class="count">(%s)</span>', $total_active_plugins ), number_format_i18n( $total_active_plugins ) ) . '</a>';
|
||||
|
Loading…
Reference in New Issue
Block a user