Make WordPress Core

Changeset 35570


Ignore:
Timestamp:
11/08/2015 01:33:13 AM (8 years ago)
Author:
SergeyBiryukov
Message:

Remove <code> tags from translatable string in wp-admin/network/settings.php.

Add translator comment.

Props ramiy.
Fixes #34618.

File:
1 edited

Legend:

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

    r35026 r35570  
    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                        /* translators: 1: NOBLOGREDIRECT 2: wp-config.php */
     142                        printf( __( '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.' ),
     143                            '<code>NOBLOGREDIRECT</code>',
     144                            '<code>wp-config.php</code>'
     145                        );
     146                        echo '</p>';
    141147                    } ?>
    142148                    </fieldset>
Note: See TracChangeset for help on using the changeset viewer.