Ticket #13383: 13383-ms-sites.diff
File 13383-ms-sites.diff, 1.7 KB (added by , 14 years ago) |
---|
-
wp-admin/ms-sites.php
546 546 'visit' => '', 547 547 ); 548 548 549 $actions['edit'] = '<span class="edit"><a href="' . esc_url( admin_url( 'ms-sites.php?action=editblog&id=' . $blog['blog_id'] ) ) . '">' . __( 'Edit' ) . '</a>< span>';549 $actions['edit'] = '<span class="edit"><a href="' . esc_url( admin_url( 'ms-sites.php?action=editblog&id=' . $blog['blog_id'] ) ) . '">' . __( 'Edit' ) . '</a></span>'; 550 550 $actions['backend'] = "<span class='backend'><a href='" . esc_url( get_admin_url($blog['blog_id']) ) . "' class='edit'>" . __( 'Backend' ) . '</a></span>'; 551 551 if ( $current_site->blog_id != $blog['blog_id'] ) { 552 552 if ( get_blog_status( $blog['blog_id'], 'deleted' ) == '1' ) … … 567 567 $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>'; 568 568 } 569 569 570 $actions['visit'] = "<span class='view'><a href='" . esc_url( get_home_url( $blog['blog_id'] ) ) . "' rel='permalink'>" . __( 'Visit' ) . '</a> ';570 $actions['visit'] = "<span class='view'><a href='" . esc_url( get_home_url( $blog['blog_id'] ) ) . "' rel='permalink'>" . __( 'Visit' ) . '</a></span>'; 571 571 $actions = array_filter( $actions ); 572 572 if ( count( $actions ) ) : ?> 573 573 <div class="row-actions">