Ticket #48965: wp-signup.php.patch
File wp-signup.php.patch, 706 bytes (added by , 5 years ago) |
---|
-
wp-signup.php
189 189 190 190 $blog_public_on_checked = ''; 191 191 $blog_public_off_checked = ''; 192 if ( isset( $_POST['blog_public'] ) && '0' == $_POST['blog_public'] ) {192 if ( isset( $_POST['blog_public'] ) && '0' === $_POST['blog_public'] ) { 193 193 $blog_public_off_checked = 'checked="checked"'; 194 194 } else { 195 195 $blog_public_on_checked = 'checked="checked"'; … … 641 641 return false; 642 642 } 643 643 644 if ( 'blog' == $_POST['signup_for'] ) {644 if ( 'blog' === $_POST['signup_for'] ) { 645 645 signup_blog( $user_name, $user_email ); 646 646 return false; 647 647 }