Trivia Pirate

What's the Middle Digit?

Only One Code Fits All Four

Each guess shows how close it came. ‘Wrong place’ means the digit is in the code, just in another spot. The code never repeats a digit. What's the middle digit?