Code Duplication    Length = 3-3 lines in 2 locations

includes/process-donation.php 2 locations

@@ 921-923 (lines=3) @@
918
	}
919
920
	// Get user first name.
921
	if ( ! isset( $user['user_first'] ) || strlen( trim( $user['user_first'] ) ) < 1 ) {
922
		$user['user_first'] = isset( $_POST['give_first'] ) ? strip_tags( trim( $_POST['give_first'] ) ) : '';
923
	}
924
925
	// Get user last name.
926
	if ( ! isset( $user['user_last'] ) || strlen( trim( $user['user_last'] ) ) < 1 ) {
@@ 926-928 (lines=3) @@
923
	}
924
925
	// Get user last name.
926
	if ( ! isset( $user['user_last'] ) || strlen( trim( $user['user_last'] ) ) < 1 ) {
927
		$user['user_last'] = isset( $_POST['give_last'] ) ? strip_tags( trim( $_POST['give_last'] ) ) : '';
928
	}
929
930
	// Get the user's billing address details.
931
	$user['address']            = array();