fix PHP notices

framework updata already includes validating function
Merge branch 'master' of https://github.com/TweetPressFr/jm-twitter-cards