Fix all link. Props mtekk. see #9527
git-svn-id: http://svn.automattic.com/wordpress/trunk@11039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2da9842c83
commit
8f98c5d7cd
|
@ -439,7 +439,7 @@ function print_plugin_actions($context) {
|
||||||
<?php
|
<?php
|
||||||
$status_links = array();
|
$status_links = array();
|
||||||
$class = ( 'all' == $status ) ? ' class="current"' : '';
|
$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) ) {
|
if ( ! empty($active_plugins) ) {
|
||||||
$class = ( 'active' == $status ) ? ' class="current"' : '';
|
$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>';
|
$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