WordPress.org

Make WordPress Core

Ticket #21662: 21662.diff

File 21662.diff, 1.1 KB (added by wpmuguru, 16 months ago)
  • wp-signup.php

     
    165165        if ( $errors->get_error_code() ) { 
    166166                echo '<p>' . __( 'There was a problem, please correct the form below and try again.' ) . '</p>'; 
    167167        } 
    168         ?> 
    169         <p><?php printf( __( 'Welcome back, %s. By filling out the form below, you can <strong>add another site to your account</strong>. There is no limit to the number of sites you can have, so create to your heart&#8217;s content, but write responsibly!' ), $current_user->display_name ) ?></p> 
    170168 
    171         <?php 
     169        if ( $add_another_site_message = apply_filters( 'add_another_site_message', __( 'Welcome back, %s. By filling out the form below, you can <strong>add another site to your account</strong>. There is no limit to the number of sites you can have, so create to your heart&#8217;s content, but write responsibly!' ) ) ) { 
     170                ?> 
     171                <p><?php printf( $add_another_site_message, $current_user->display_name ) ?></p> 
     172         
     173                <?php 
     174        } 
     175 
    172176        $blogs = get_blogs_of_user($current_user->ID); 
    173177        if ( !empty($blogs) ) { ?> 
    174178