Link to site being edited. Props lloydbudd. fixes #17257

git-svn-id: http://svn.automattic.com/wordpress/trunk@18129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2011-06-03 15:35:45 +00:00
parent 75660d68a0
commit f938faa814
4 changed files with 20 additions and 8 deletions

View File

@@ -157,7 +157,10 @@ if ( isset( $_GET['action'] ) && 'update-site' == $_GET['action'] ) {
add_screen_option( 'per_page', array( 'label' => _x( 'Users', 'users per page (screen options)' ) ) );
$title = sprintf( __('Edit Site: %s'), get_blogaddress_by_id($id));
$site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $id ) );
$title_site_url_linked = sprintf( __('Edit Site: <a href="%1$s">%2$s</a>'), get_blogaddress_by_id( $id ), $site_url_no_http );
$title = sprintf( __('Edit Site: %s'), $site_url_no_http );
$parent_file = 'sites.php';
$submenu_file = 'sites.php';
@@ -165,7 +168,7 @@ require('../admin-header.php'); ?>
<div class="wrap">
<?php screen_icon('ms-admin'); ?>
<h2 id="edit-site"><?php echo $title ?></h2>
<h2 id="edit-site"><?php echo $title_site_url_linked ?></h2>
<h3 class="nav-tab-wrapper">
<?php
$tabs = array(