Make WordPress Core

Changeset 31962


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.

Location:
trunk/src/wp-admin/network
Files:
4 edited

Legend:

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

    r31658 r31962  
    8989
    9090$site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $id ) );
    91 $title_site_url_linked = sprintf( __('Edit Site: <a href="%1$s">%2$s</a>'), get_blogaddress_by_id( $id ), $site_url_no_http );
    92 $title = sprintf( __('Edit Site: %s'), $site_url_no_http );
     91$title_site_url_linked = sprintf( __( 'Edit Site: %s' ), '<a href="' . get_blogaddress_by_id( $id ) . '">' . $site_url_no_http . '</a>' );
     92$title = sprintf( __( 'Edit Site: %s' ), $site_url_no_http );
    9393
    9494$parent_file = 'sites.php';
  • 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';
  • trunk/src/wp-admin/network/site-themes.php

    r31696 r31962  
    131131
    132132$site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $id ) );
    133 $title_site_url_linked = sprintf( __('Edit Site: <a href="%1$s">%2$s</a>'), get_blogaddress_by_id( $id ), $site_url_no_http );
    134 $title = sprintf( __('Edit Site: %s'), $site_url_no_http );
     133$title_site_url_linked = sprintf( __( 'Edit Site: %s' ), '<a href="' . get_blogaddress_by_id( $id ) . '">' . $site_url_no_http . '</a>' );
     134$title = sprintf( __( 'Edit Site: %s' ), $site_url_no_http );
    135135
    136136$parent_file = 'sites.php';
  • 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.