Use the WordPress codebase draft checking