Use auto-draft rather than post_ID = 0 to detect whether we are adding a new post. see #23665.



git-svn-id: https://core.svn.wordpress.org/trunk@23631 1a063a9b-81f0-0310-95a4-ce76da25c4cd