Use a span so we mark up the all the info about the site. See #15716 - allows for css targetting based on site.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
381a4f7750
commit
4bd2db1ca5
|
@ -221,8 +221,9 @@ class WP_MS_Users_List_Table extends WP_List_Table {
|
|||
continue;
|
||||
|
||||
$path = ( $val->path == '/' ) ? '' : $val->path;
|
||||
echo '<span class="site-' . $val->site_id . '" >';
|
||||
echo '<a href="'. esc_url( network_admin_url( 'site-info.php?id=' . $val->userblog_id ) ) .'">' . str_replace( '.' . $current_site->domain, '', $val->domain . $path ) . '</a>';
|
||||
echo ' <small class="row-actions site-' . $val->site_id . '">';
|
||||
echo ' <small class="row-actions">';
|
||||
$actions = array();
|
||||
$actions['edit'] = '<a href="'. esc_url( network_admin_url( 'site-info.php?id=' . $val->userblog_id ) ) .'">' . __( 'Edit' ) . '</a>';
|
||||
|
||||
|
@ -247,7 +248,7 @@ class WP_MS_Users_List_Table extends WP_List_Table {
|
|||
( $i == $action_count ) ? $sep = '' : $sep = ' | ';
|
||||
echo "<span class='$action'>$link$sep</span>";
|
||||
}
|
||||
echo '</small><br/>';
|
||||
echo '</span></small><br/>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue