Additional improvement to sites list table display

* Build `$blogname` identically when creating action link messaging.
* Remove the trailing slash from URLs for a better UI.

See #32434.

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


git-svn-id: http://core.svn.wordpress.org/trunk@32689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Jeremy Felt 2015-06-10 07:28:26 +00:00
parent 93ff65e677
commit 0e76a2c570
2 changed files with 3 additions and 3 deletions

View File

@ -262,7 +262,7 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
}
echo "<tr{$class}>";
$blogname = $blog['domain'] . $blog['path'];
$blogname = untrailingslashit( $blog['domain'] . $blog['path'] );
list( $columns, $hidden, $sortable, $primary ) = $this->get_column_info();
@ -402,7 +402,7 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
global $current_site;
if ( $primary === $column_name ) {
$blogname = ( is_subdomain_install() ) ? str_replace( '.'.$current_site->domain, '', $blog['domain'] ) : $blog['path'];
$blogname = untrailingslashit( $blog['domain'] . $blog['path'] );
// Preordered.
$actions = array(

View File

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