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: https://develop.svn.wordpress.org/trunk@16765 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9c2a7dc314
commit
f6b9beb519
@ -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
Block a user