Make WordPress Core


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.

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.