Make WordPress Core

Changeset 13811


Ignore:
Timestamp:
03/25/2010 02:49:23 AM (14 years ago)
Author:
nacin
Message:

Use actual hostname instead of example.com in subdirectory/subdomain examples. fixes #12679, props johnbillion.

File:
1 edited

Legend:

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

    r13782 r13811  
    140140            <tr>
    141141                <th><label><input type='radio' name='subdomain_install' value='1'<?php checked( $subdomain_install ); ?> /> Sub-domains</label></th>
    142                 <td><?php _e('like <code>site1.example.com</code> and <code>site2.example.com</code>'); ?></td>
     142                <td><?php printf( _x( 'like <code>site1.%1$s</code> and <code>site2.%1$s</code>', 'subdomain examples' ), $hostname ); ?></td>
    143143            </tr>
    144144            <tr>
    145145                <th><label><input type='radio' name='subdomain_install' value='0'<?php checked( ! $subdomain_install ); ?> /> Sub-directories</label></th>
    146                 <td><?php _e('like <code>example.com/site1</code> and <code>example.com/site2</code>'); ?></td>
     146                <td><?php printf( _x( 'like <code>%1$s/site1</code> and <code>%1$s/site2</code>', 'subdirectory examples' ), $hostname ); ?></td>
    147147            </tr>
    148148        </table>
Note: See TracChangeset for help on using the changeset viewer.