[wp-hackers] Disable/ Stop "auto-draft" posts
Daniel Grundel
daniel at webpresencepartners.com
Tue Feb 28 16:01:15 UTC 2012
I suspect if you removed support for 'revisions' that would stop happening,
but I could be totally wrong. Of course, you would also lose support for
storing multiple revisions of your posts. :)
If you want to try it out, this should do the trick:
<?php remove_post_type_support( 'post', 'revisions' ); ?>
Again, just a hunch, but it's easy to try it out.
Daniel J. Grundel
Web Presence Partners
webpresencepartners.com
daniel at webpresencepartners.com
772 678 0697
On Tue, Feb 28, 2012 at 10:48 AM, wpmidia lab <wpmidia at gmail.com> wrote:
> Hello people!
>
> Is there a way to disable "auto-draft" posts?
>
> When I enter to post-new.php page, WordPress creates a post record in
> wp_posts table, with status "auto-draft". Even if the post is not saved, WP
> keeps the record created.
>
> I think it's bad....
>
> I really appreciate any comment about it...
>
> --
> *Míriam de Paula *
> *(a.k.a. Drika)*
> *Twitter:* @miriamdepaula
>
> wp*midia*
> *desenvolvimento web*
> http://wpmidia.com.br
> twitter: @wpmidia
>
> *WordPress Brasil no Facebook: *
> http://www.facebook.com/groups/wordpress.brasil
>
> *OpenCart Brasil no Facebook:*
> http://www.facebook.com/groups/opencart.brasil/
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list