Ticket #39611: 39611.patch
File 39611.patch, 1.4 KB (added by , 8 years ago) |
---|
-
src/wp-signup.php
819 819 // Make the signup type translatable. 820 820 $i18n_signup['all'] = _x('all', 'Multisite active signup type'); 821 821 $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'); 823 823 $i18n_signup['user'] = _x('user', 'Multisite active signup type'); 824 824 825 825 if ( is_super_admin() ) { 826 826 /* 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“%s” 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 “%s” 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>'; 828 828 } 829 829 830 830 $newblogname = isset($_GET['new']) ? strtolower(preg_replace('/^-|-$|[^-a-zA-Z0-9]/', '', $_GET['new'])) : null;