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

Built from https://develop.svn.wordpress.org/trunk@40393


git-svn-id: http://core.svn.wordpress.org/trunk@40300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2017-04-07 13:51:43 +00:00
parent 6ba598cc34
commit 0c2338fab2
2 changed files with 6 additions and 3 deletions

View File

@ -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'] );

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.8-alpha-40392'; $wp_version = '4.8-alpha-40393';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.