Make WordPress Core

Changeset 33603


Ignore:
Timestamp:
08/10/2015 06:10:11 PM (9 years ago)
Author:
helen
Message:

Network admin: Internationalize some existing strings that were missed in [33186].

Also adds the trailing slash to the get_home_url() calls.

props johnbillion.
fixes #33317.

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

Legend:

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

    r33586 r33603  
    138138<div class="wrap">
    139139<h1 id="edit-site"><?php echo $title; ?></h1>
    140 <p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id ) ); ?>">Visit</a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>">Dashboard</a></p>
     140<p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id, '/' ) ); ?>"><?php _e( 'Visit' ); ?></a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>"><?php _e( 'Dashboard' ); ?></a></p>
    141141<h3 class="nav-tab-wrapper">
    142142<?php
  • trunk/src/wp-admin/network/site-settings.php

    r33186 r33603  
    9191<div class="wrap">
    9292<h1 id="edit-site"><?php echo $title; ?></h1>
    93 <p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id ) ); ?>">Visit</a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>">Dashboard</a></p>
     93<p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id, '/' ) ); ?>"><?php _e( 'Visit' ); ?></a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>"><?php _e( 'Dashboard' ); ?></a></p>
    9494<h3 class="nav-tab-wrapper">
    9595<?php
  • trunk/src/wp-admin/network/site-themes.php

    r33186 r33603  
    143143<div class="wrap">
    144144<h1 id="edit-site"><?php echo $title; ?></h1>
    145 <p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id ) ); ?>">Visit</a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>">Dashboard</a></p>
     145<p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id, '/' ) ); ?>"><?php _e( 'Visit' ); ?></a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>"><?php _e( 'Dashboard' ); ?></a></p>
    146146<h3 class="nav-tab-wrapper">
    147147<?php
  • trunk/src/wp-admin/network/site-users.php

    r33494 r33603  
    186186<div class="wrap">
    187187<h1 id="edit-site"><?php echo $title; ?></h1>
    188 <p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id ) ); ?>">Visit</a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>">Dashboard</a></p>
     188<p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id, '/' ) ); ?>"><?php _e( 'Visit' ); ?></a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>"><?php _e( 'Dashboard' ); ?></a></p>
    189189<h3 class="nav-tab-wrapper">
    190190<?php
Note: See TracChangeset for help on using the changeset viewer.