Make WordPress Core

Ticket #34618: 34618.patch

File 34618.patch, 1.3 KB (added by ramiy, 10 years ago)
  • wp-admin/network/settings.php

     
    137137                                        <label><input name="registration" type="radio" id="registration3" value="blog"<?php checked( $reg, 'blog') ?> /> <?php _e( 'Logged in users may register new sites.' ); ?></label><br />
    138138                                        <label><input name="registration" type="radio" id="registration4" value="all"<?php checked( $reg, 'all') ?> /> <?php _e( 'Both sites and user accounts can be registered.' ); ?></label>
    139139                                        <?php if ( is_subdomain_install() ) {
    140                                                 echo '<p class="description">' . __( 'If registration is disabled, please set <code>NOBLOGREDIRECT</code> in <code>wp-config.php</code> to a URL you will redirect visitors to if they visit a non-existent site.' ) . '</p>';
     140                                                echo '<p class="description">';
     141                                                printf(
     142                                                        /* translators: 1: NOBLOGREDIRECT 2: wp-config.php */
     143                                                        __( 'If registration is disabled, please set %1$s in %2$s to a URL you will redirect visitors to if they visit a non-existent site.' ),
     144                                                        '<code>NOBLOGREDIRECT</code>',
     145                                                        '<code>wp-config.php</code>'
     146                                                );
     147                                                echo '</p>';
    141148                                        } ?>
    142149                                        </fieldset>
    143150                                </td>