get_blog_count() returns a number, not an object. Also, i18n fixes -- add plural string, and translator context. see #12531 for get_blog_count() discussion. see #12409 for ms-sites cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2164f43949
commit
95f0ba0623
|
@ -423,7 +423,7 @@ switch ( $action ) {
|
|||
if ( empty($_GET['blogstatus']) || $_GET['blogstatus'] == 'all' )
|
||||
$status_class = ' class="current"';
|
||||
|
||||
$status_links[] = "<li><a href='ms-sites.php?blogstatus=all'$status_class>" . sprintf( __( 'All <span class="count">(%s)</span>' ), number_format_i18n( $count->all ) ) . '</a>';
|
||||
$status_links[] = "<li><a href='ms-sites.php?blogstatus=all'$status_class>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $count, 'sites' ), number_format_i18n( $count ) ) . '</a>';
|
||||
|
||||
foreach ( $status_list as $status => $col ) {
|
||||
$status_class = '';
|
||||
|
|
Loading…
Reference in New Issue