Make WordPress Core

Ticket #15708: patch-core-15708.diff

File patch-core-15708.diff, 1008 bytes (added by koke, 14 years ago)

Patch to correct the settings link

  • wp-signup.php

     
    391391$i18n_signup['user'] = _x('user', 'Multisite active signup type');
    392392
    393393if ( is_super_admin() )
    394         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( 'ms-options.php' ) ) ) . '</div>';
     394        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>';
    395395
    396396$newblogname = isset($_GET['new']) ? strtolower(preg_replace('/^-|-$|[^-a-zA-Z0-9]/', '', $_GET['new'])) : null;
    397397