Code Duplication    Length = 3-3 lines in 2 locations

includes/process-donation.php 2 locations

@@ 883-885 (lines=3) @@
880
	}
881
882
	// Get user first name.
883
	if ( ! isset( $user['user_first'] ) || strlen( trim( $user['user_first'] ) ) < 1 ) {
884
		$user['user_first'] = isset( $_POST['give_first'] ) ? strip_tags( trim( $_POST['give_first'] ) ) : '';
885
	}
886
887
	// Get user last name.
888
	if ( ! isset( $user['user_last'] ) || strlen( trim( $user['user_last'] ) ) < 1 ) {
@@ 888-890 (lines=3) @@
885
	}
886
887
	// Get user last name.
888
	if ( ! isset( $user['user_last'] ) || strlen( trim( $user['user_last'] ) ) < 1 ) {
889
		$user['user_last'] = isset( $_POST['give_last'] ) ? strip_tags( trim( $_POST['give_last'] ) ) : '';
890
	}
891
892
	// Get the user's billing address details.
893
	$user['address']            = array();