Fix it_publish() bug

I experienced a bug (in Wordpress 4.0). On publish and update, the `publish_post` hook does not always supply the 2nd parameter, which is required - thought not used - in the `it_publish()` function, resulting in a Fatal error. So I added `null` as a default value for the 2nd argument `$post`.