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-settings.php

    r31658 r31962  
    7777
    7878$site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $id ) );
    79 $title_site_url_linked = sprintf( __('Edit Site: <a href="%1$s">%2$s</a>'), get_blogaddress_by_id( $id ), $site_url_no_http );
    80 $title = sprintf( __('Edit Site: %s'), $site_url_no_http );
     79$title_site_url_linked = sprintf( __( 'Edit Site: %s' ), '<a href="' . get_blogaddress_by_id( $id ) . '">' . $site_url_no_http . '</a>' );
     80$title = sprintf( __( 'Edit Site: %s' ), $site_url_no_http );
    8181
    8282$parent_file = 'sites.php';
Note: See TracChangeset for help on using the changeset viewer.