In a large bowl, combine flour, baking soda, baking powder, salt, and set aside. In a separate bowl, cream together butter and sugar. Stir in eggs, milk, vanilla, and mashed bananas until well blended. Stir banana mixture and walnuts into flour mixture; stir just to moisten. Pour batter into prepared loaf pan.