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

Joseph Scott joseph at josephscott.org
Fri Mar 2 22:03:32 UTC 2012


Can you provide more details on what XML-RPC calls you are doing?  I
small script to reproduce this would be ideal.

Is this on WP -trunk?  Are you seeing the same issue with the last
release of WP?

On Wed, Feb 29, 2012 at 3:04 AM, Ryan Chan <ryanchan404 at gmail.com> wrote:
> 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?



-- 
Joseph Scott
joseph at josephscott.org
http://josephscott.org/


More information about the wp-xmlrpc mailing list