| 1 | Index: wp-signup.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- wp-signup.php (revision 23226) |
|---|
| 4 | +++ wp-signup.php (working copy) |
|---|
| 5 | @@ -165,10 +165,14 @@ |
|---|
| 6 | if ( $errors->get_error_code() ) { |
|---|
| 7 | echo '<p>' . __( 'There was a problem, please correct the form below and try again.' ) . '</p>'; |
|---|
| 8 | } |
|---|
| 9 | - ?> |
|---|
| 10 | - <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’s content, but write responsibly!' ), $current_user->display_name ) ?></p> |
|---|
| 11 | |
|---|
| 12 | - <?php |
|---|
| 13 | + 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’s content, but write responsibly!' ) ) ) { |
|---|
| 14 | + ?> |
|---|
| 15 | + <p><?php printf( $add_another_site_message, $current_user->display_name ) ?></p> |
|---|
| 16 | + |
|---|
| 17 | + <?php |
|---|
| 18 | + } |
|---|
| 19 | + |
|---|
| 20 | $blogs = get_blogs_of_user($current_user->ID); |
|---|
| 21 | if ( !empty($blogs) ) { ?> |
|---|
| 22 | |
|---|