Make WordPress Core

Ticket #39611: 39611.patch

File 39611.patch, 1.4 KB (added by jignesh.nakrani, 8 years ago)

text changes as per #39209

  • src/wp-signup.php

     
    819819// Make the signup type translatable.
    820820$i18n_signup['all'] = _x('all', 'Multisite active signup type');
    821821$i18n_signup['none'] = _x('none', 'Multisite active signup type');
    822 $i18n_signup['blog'] = _x('blog', 'Multisite active signup type');
     822$i18n_signup['blog'] = _x('site', 'Multisite active signup type');
    823823$i18n_signup['user'] = _x('user', 'Multisite active signup type');
    824824
    825825if ( is_super_admin() ) {
    826826        /* translators: 1: type of site sign-up; 2: network settings URL */
    827         echo '<div class="mu_alert">' . sprintf( __( 'Greetings Site Administrator! You are currently allowing &#8220;%s&#8221; registrations. To change or disable registration go to your <a href="%s">Options page</a>.' ), $i18n_signup[$active_signup], esc_url( network_admin_url( 'settings.php' ) ) ) . '</div>';
     827        echo '<div class="mu_alert">' . sprintf( __( 'Greetings Network Administrator! The network currently allows &#8220;%s&#8221; registrations. To change or disable registration go to your <a href="%s">Options page</a>.' ), $i18n_signup[$active_signup], esc_url( network_admin_url( 'settings.php' ) ) ) . '</div>';
    828828}
    829829
    830830$newblogname = isset($_GET['new']) ? strtolower(preg_replace('/^-|-$|[^-a-zA-Z0-9]/', '', $_GET['new'])) : null;