fix pass-by-reference issue with wp_remote_head
increase test timeout
cleanup
Merge branch 'feature/compat4.0' into develop