Wright, signed from Stranraer in 2005, rejected the club's initial offer after talks began during the close season.
But he told The Sun: "I was just after the best deal I could get for myself and my family.
"I had no real plans to move away as I enjoy it here. The gaffer is one of the main reasons why I signed the deal. He gave me a chance in the SPL."