Dunleavy, who is primarily a right-back, has captained the Republic of Ireland at youth level and Wolves reserves during his career.
Temporary manager Paul Fairclough told the club`s official website: "We are delighted to have John on board.
"He is a player that Wolves rate highly and he will be in the squad for the game on Saturday against Shrewsbury."
Source: PA
Source: PA