Networks and Sites: Align the display of site statuses on the Sites listing screen with those of posts on the Posts listing screen.
Fixes #40290 git-svn-id: https://develop.svn.wordpress.org/trunk@40393 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2a261f0d7c
commit
49c68e7a9a
@ -315,7 +315,7 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
|
|||||||
if ( ! empty( $blog_states ) ) {
|
if ( ! empty( $blog_states ) ) {
|
||||||
$state_count = count( $blog_states );
|
$state_count = count( $blog_states );
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$blog_state .= ' - ';
|
$blog_state .= ' — ';
|
||||||
foreach ( $blog_states as $state ) {
|
foreach ( $blog_states as $state ) {
|
||||||
++$i;
|
++$i;
|
||||||
$sep = ( $i == $state_count ) ? '' : ', ';
|
$sep = ( $i == $state_count ) ? '' : ', ';
|
||||||
@ -324,7 +324,10 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
|
|||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<a href="<?php echo esc_url( network_admin_url( 'site-info.php?id=' . $blog['blog_id'] ) ); ?>" class="edit"><?php echo $blogname . $blog_state; ?></a>
|
<strong>
|
||||||
|
<a href="<?php echo esc_url( network_admin_url( 'site-info.php?id=' . $blog['blog_id'] ) ); ?>" class="edit"><?php echo $blogname; ?></a>
|
||||||
|
<?php echo $blog_state; ?>
|
||||||
|
</strong>
|
||||||
<?php
|
<?php
|
||||||
if ( 'list' !== $mode ) {
|
if ( 'list' !== $mode ) {
|
||||||
switch_to_blog( $blog['blog_id'] );
|
switch_to_blog( $blog['blog_id'] );
|
||||||
|
Loading…
Reference in New Issue
Block a user