Correct the subdomain/non-subdomain logic when listing sites.
Tidy up the case statement. See #15174. git-svn-id: http://svn.automattic.com/wordpress/trunk@16126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a4d26eefc2
commit
034621a8d7
|
@ -158,7 +158,7 @@ class WP_Sites_Table extends WP_List_Table {
|
|||
}
|
||||
echo "<tr class='$class'>";
|
||||
|
||||
$blogname = ( is_subdomain_install() ) ? str_replace( '.'.$current_site->domain, '', $blog['domain'] ) : $blog['path'];
|
||||
$blogname = ( is_subdomain_install() ) ? $blog['path'] : str_replace( '.'.$current_site->domain, '', $blog['domain'] );
|
||||
|
||||
list( $columns, $hidden ) = $this->get_column_info();
|
||||
|
||||
|
|
Loading…
Reference in New Issue