[wp-trac] [WordPress Trac] #11082: Saving an empty draft dumps user out to edit.php

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 26 17:03:01 UTC 2010


#11082: Saving an empty draft dumps user out to edit.php
--------------------------+-------------------------------------------------
 Reporter:  markel        |       Owner:  akhilasuram            
     Type:  defect (bug)  |      Status:  assigned               
 Priority:  low           |   Milestone:  3.0                    
Component:  Editor        |     Version:  2.7                    
 Severity:  minor         |    Keywords:  has-patch needs-testing
--------------------------+-------------------------------------------------
Changes (by duck_):

  * keywords:  has-patch needs-work => has-patch needs-testing


Comment:

 Problem was that you were entering content/title without an autosave
 occurring so the post was still being treated as auto-draft. Update solves
 this by setting {{{$_POST['auto_draft']}}} to 0 at the end of the
 edit_post function. Should all work now...

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11082#comment:31>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list