ref https://Automattic/socket.io/issues/1548

Note I have no idea about wordpress so not sure if this helps.

Homeboy over at [the socket.io issue tracker](/Automattic/socket.io/issues/1548) was complaining about this so I just slapped this in.