test if post status object is public

test if [registered post status object](http://codex.wordpress.org/Function_Reference/register_post_status "WordPress Core register_post_status function") is public using the same logic as post type public a few lines above.

Fixes previous behavior of only sending a ping when not public, which is the opposite of what we want.