Make WordPress Core


Ignore:
Timestamp:
04/01/2015 05:59:25 PM (9 years ago)
Author:
SergeyBiryukov
Message:

Merge title strings on Edit Site screens.

props ramiy.
fixes #31844.

File:
1 edited

Legend:

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

    r31696 r31962  
    159159
    160160$site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $id ) );
    161 $title_site_url_linked = sprintf( __('Edit Site: <a href="%1$s">%2$s</a>'), get_blogaddress_by_id( $id ), $site_url_no_http );
    162 $title = sprintf( __('Edit Site: %s'), $site_url_no_http );
     161$title_site_url_linked = sprintf( __( 'Edit Site: %s' ), '<a href="' . get_blogaddress_by_id( $id ) . '">' . $site_url_no_http . '</a>' );
     162$title = sprintf( __( 'Edit Site: %s' ), $site_url_no_http );
    163163
    164164$parent_file = 'sites.php';
Note: See TracChangeset for help on using the changeset viewer.