moved out anonymous function to support PHP 5.2
Merge branch 'master' of https://github.com/jdevalk/wordpress-seo