Fix error notices created from typo in variable

See #227
Merge pull request #227 from Automattic/fix-notice-227

Fix PHP notice: Undefined variable: wp_post_statuss