Correct bad WP_VERSION in .travis.yml
Fix warnings leading to test failures in PHP 5.4

Missing static keyword, assigned by reference warnings.