Use PostStatus enum for comparing post status.

Removed `publishThis` boolean that was always false.