Code Duplication    Length = 3-3 lines in 2 locations

includes/process-donation.php 2 locations

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