]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/network/site-themes.php
Wordpress 3.2
[autoinstalls/wordpress.git] / wp-admin / network / site-themes.php
index c13a8d37b2ea97e1913218e45cfdcb307c8ed7b7..867984576ab2de286f431334354f74a9ae4f1dbc 100644 (file)
@@ -124,7 +124,10 @@ if ( isset( $_GET['action'] ) && 'update-site' == $_GET['action'] ) {
 add_thickbox();
 add_screen_option( 'per_page', array( 'label' => _x( 'Themes', 'themes 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';
 
@@ -132,7 +135,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(