Fix compatibility with EkinoWordpressBundle for removing global variable
Fix for working on latest Wordpress version (fix #3)