Added post validation / check when publishing posts