Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r17322 r18129  
    125125add_screen_option( 'per_page', array( 'label' => _x( 'Themes', 'themes per page (screen options)' ) ) );
    126126
    127 $title = sprintf( __('Edit Site: %s'), get_blogaddress_by_id($id));
     127$site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $id ) );
     128$title_site_url_linked = sprintf( __('Edit Site: <a href="%1$s">%2$s</a>'), get_blogaddress_by_id( $id ), $site_url_no_http );
     129$title = sprintf( __('Edit Site: %s'), $site_url_no_http );
     130
    128131$parent_file = 'sites.php';
    129132$submenu_file = 'sites.php';
     
    133136<div class="wrap">
    134137<?php screen_icon('ms-admin'); ?>
    135 <h2 id="edit-site"><?php echo $title ?></h2>
     138<h2 id="edit-site"><?php echo $title_site_url_linked ?></h2>
    136139<h3 class="nav-tab-wrapper">
    137140<?php
Note: See TracChangeset for help on using the changeset viewer.