Wolves were forced to fight back to book their place in the FA Cup fifth-round with victory over Shrewsbury.
Matt Doherty handed the home team an early lead before the League One side equalised with a James Bolton header.
But Doherty restored parity in first-half injury time before Ivan Cavaleiro sealed their progress after the break.
The Portuguese forward rolled the ball past Steve Arnold in clinical fashion despite appearing to stumble in the build-up to the goal.
Wolves will now travel to Championship club Bristol City on 17 February for a place in the quarter-final.