The Austrian has been mentioned as a top candidate to replace Ruben Amorim at crisis club United.
Wharton said, "Obviously there is always speculation with people's contracts coming up, but you've seen the impact he's had here and the way we are playing, so the longer he stays, the better I think.
"But anything could happen, so we will see."
Glasner has admitted he is aware of the United speculation, stating on Austrian Kicker last week: "I follow all the rumours - and that's all there is - neutrally and completely relaxed.
"Focusing on the daily work with my players and coaches, and trying to enjoy it as much as possible."
