[wp-xmlrpc] Why "Auto Draft" row are created during XMLRPC create new article?

Ryan Chan ryanchan404 at gmail.com
Wed Feb 29 10:04:55 UTC 2012


I found out that during XMLRPC insert post to the wordpress, some strange
rows, together with the real posts are created, e.g.

INSERT INTO `wp_posts` (`ID`, `post_author`, `post_date`, `post_date_gmt`,
`post_content`, `post_title`, `post_excerpt`, `post_status`,
`comment_status`, `ping_status`, `post_password`, `post_name`, `to_ping`,
`pinged`, `post_modified`, `post_modified_gmt`, `post_content_filtered`,
`post_parent`, `guid`, `menu_order`, `post_type`, `post_mime_type`,
`comment_count`) VALUES (1,1,'2012-02-29 09:26:43','0000-00-00
00:00:00','','Auto
Draft','','auto-draft','open','open','','','','','2012-02-29
09:26:43','0000-00-00 00:00:00','',0,'
http://www.example.net/wordpress/test1/?p=1',0,'post','',0);


Why "Auto Draft" is created automatically? Can it be skipped?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.automattic.com/pipermail/wp-xmlrpc/attachments/20120229/283952fb/attachment.htm>


More information about the wp-xmlrpc mailing list