Valid HTML in ms-users and ms-sites. props Utkarsh, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d12cdce1b0
commit
c13744a051
|
@ -546,7 +546,7 @@ switch ( $action ) {
|
||||||
'visit' => '',
|
'visit' => '',
|
||||||
);
|
);
|
||||||
|
|
||||||
$actions['edit'] = '<span class="edit"><a href="' . esc_url( admin_url( 'ms-sites.php?action=editblog&id=' . $blog['blog_id'] ) ) . '">' . __( 'Edit' ) . '</a><span>';
|
$actions['edit'] = '<span class="edit"><a href="' . esc_url( admin_url( 'ms-sites.php?action=editblog&id=' . $blog['blog_id'] ) ) . '">' . __( 'Edit' ) . '</a></span>';
|
||||||
$actions['backend'] = "<span class='backend'><a href='" . esc_url( get_admin_url($blog['blog_id']) ) . "' class='edit'>" . __( 'Backend' ) . '</a></span>';
|
$actions['backend'] = "<span class='backend'><a href='" . esc_url( get_admin_url($blog['blog_id']) ) . "' class='edit'>" . __( 'Backend' ) . '</a></span>';
|
||||||
if ( $current_site->blog_id != $blog['blog_id'] ) {
|
if ( $current_site->blog_id != $blog['blog_id'] ) {
|
||||||
if ( get_blog_status( $blog['blog_id'], 'deleted' ) == '1' )
|
if ( get_blog_status( $blog['blog_id'], 'deleted' ) == '1' )
|
||||||
|
@ -567,7 +567,7 @@ switch ( $action ) {
|
||||||
$actions['delete'] = '<span class="delete"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=deleteblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( 'You are about to delete the site %s.' ), $blogname ) ) ) ) . '">' . __( 'Delete' ) . '</a></span>';
|
$actions['delete'] = '<span class="delete"><a href="' . esc_url( admin_url( 'ms-edit.php?action=confirm&action2=deleteblog&id=' . $blog['blog_id'] . '&msg=' . urlencode( sprintf( __( 'You are about to delete the site %s.' ), $blogname ) ) ) ) . '">' . __( 'Delete' ) . '</a></span>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$actions['visit'] = "<span class='view'><a href='" . esc_url( get_home_url( $blog['blog_id'] ) ) . "' rel='permalink'>" . __( 'Visit' ) . '</a>';
|
$actions['visit'] = "<span class='view'><a href='" . esc_url( get_home_url( $blog['blog_id'] ) ) . "' rel='permalink'>" . __( 'Visit' ) . '</a></span>';
|
||||||
$actions = array_filter( $actions );
|
$actions = array_filter( $actions );
|
||||||
if ( count( $actions ) ) : ?>
|
if ( count( $actions ) ) : ?>
|
||||||
<div class="row-actions">
|
<div class="row-actions">
|
||||||
|
|
|
@ -170,7 +170,7 @@ if ( isset( $_GET['updated'] ) && $_GET['updated'] == 'true' && ! empty( $_GET['
|
||||||
<table class="widefat">
|
<table class="widefat">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="manage-column column-cb check-column" id="cb" scope="col">
|
<th class="manage-column column-cb check-column" scope="col">
|
||||||
<input type="checkbox" />
|
<input type="checkbox" />
|
||||||
</th>
|
</th>
|
||||||
<?php
|
<?php
|
||||||
|
@ -190,7 +190,7 @@ if ( isset( $_GET['updated'] ) && $_GET['updated'] == 'true' && ! empty( $_GET['
|
||||||
</thead>
|
</thead>
|
||||||
<tfoot>
|
<tfoot>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="manage-column column-cb check-column" id="cb" scope="col">
|
<th class="manage-column column-cb check-column" scope="col">
|
||||||
<input type="checkbox" />
|
<input type="checkbox" />
|
||||||
</th>
|
</th>
|
||||||
<?php echo $col_url; ?>
|
<?php echo $col_url; ?>
|
||||||
|
|
Loading…
Reference in New Issue