Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/site-settings.php

    r17144 r18129  
    6969}
    7070
    71 $title = sprintf( __('Edit Site: %s'), get_blogaddress_by_id($id));
     71$site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $id ) );
     72$title_site_url_linked = sprintf( __('Edit Site: <a href="%1$s">%2$s</a>'), get_blogaddress_by_id( $id ), $site_url_no_http );
     73$title = sprintf( __('Edit Site: %s'), $site_url_no_http );
     74
    7275$parent_file = 'sites.php';
    7376$submenu_file = 'sites.php';
     
    7982<div class="wrap">
    8083<?php screen_icon('ms-admin'); ?>
    81 <h2 id="edit-site"><?php echo $title ?></h2>
     84<h2 id="edit-site"><?php echo $title_site_url_linked ?></h2>
    8285<h3 class="nav-tab-wrapper">
    8386<?php
Note: See TracChangeset for help on using the changeset viewer.