Changeset 42761 for trunk/src/wp-signup.php
- Timestamp:
- 02/27/2018 02:30:46 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-signup.php
r42343 r42761 324 324 echo '<h2>' . sprintf( __( 'Get <em>another</em> %s site in seconds' ), get_network()->site_name ) . '</h2>'; 325 325 326 if ( $errors-> get_error_code() ) {326 if ( $errors->has_errors() ) { 327 327 echo '<p>' . __( 'There was a problem, please correct the form below and try again.' ) . '</p>'; 328 328 } … … 390 390 $errors = $result['errors']; 391 391 392 if ( $errors-> get_error_code() ) {392 if ( $errors->has_errors() ) { 393 393 signup_another_blog( $blogname, $blog_title, $errors ); 394 394 return false; … … 605 605 $errors = $result['errors']; 606 606 607 if ( $errors-> get_error_code() ) {607 if ( $errors->has_errors() ) { 608 608 signup_user( $user_name, $user_email, $errors ); 609 609 return false; … … 730 730 $user_errors = $user_result['errors']; 731 731 732 if ( $user_errors-> get_error_code() ) {732 if ( $user_errors->has_errors() ) { 733 733 signup_user( $user_name, $user_email, $user_errors ); 734 734 return false; … … 742 742 $errors = $result['errors']; 743 743 744 if ( $errors-> get_error_code() ) {744 if ( $errors->has_errors() ) { 745 745 signup_blog( $user_name, $user_email, $blogname, $blog_title, $errors ); 746 746 return false;
Note: See TracChangeset
for help on using the changeset viewer.