Travis Hafner was not in the lineup for the third straight game Thursday night when manager Joe Girardi used Vernon Wells as designated hitter against Mariners right-hander Hector Noesi.

Hafner, who has a history of right shoulder problems, received a cortisone injection Tuesday.

“BP went well, flips went well. I’m encouraged by that. Good day,’’ Hafner said following a batting practice session. “Didn’t have any of the issues I had before. Hopefully I’ll be back out there soon.’’

Hafner wasn’t used as a pinch-hitter in the ninth inning of last night’s 3-2 loss to the Mariners at Yankee Stadium. Presented with a chance to use the left-handed power threat against right-handed closer Tom Wilhelmsen with potential tying run Brett Gardner on first and one out, Girardi didn’t call for Hafner.

“He wasn’t available,’’ Girardi said. “We just felt that the more we get it to heal the more that he will be completely healthy when we bring him back.’’