Changeset 14821
- Timestamp:
- 05/23/2010 09:05:04 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-signup.php
r14704 r14821 387 387 $active_signup = apply_filters( 'wpmu_active_signup', $active_signup ); // return "all", "none", "blog" or "user" 388 388 389 // Make the signup type translatable. 390 $i18n_signup['all'] = _x('all', 'Mulitisite active signup type'); 391 $i18n_signup['none'] = _x('none', 'Mulitisite active signup type'); 392 $i18n_signup['blog'] = _x('blog', 'Mulitisite active signup type'); 393 $i18n_signup['user'] = _x('user', 'Mulitisite active signup type'); 394 389 395 if ( is_super_admin() ) 390 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>.' ), $ active_signup, esc_url( network_admin_url( 'ms-options.php' ) ) ) . '</div>';396 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( 'ms-options.php' ) ) ) . '</div>'; 391 397 392 398 $newblogname = isset($_GET['new']) ? strtolower(preg_replace('/^-|-$|[^-a-zA-Z0-9]/', '', $_GET['new'])) : null;
Note: See TracChangeset
for help on using the changeset viewer.