Make this fucker work on all versions of wordpress