[wp-trac] Re: [WordPress Trac] #7816: Clicking Preview before Save will result in Blank, New Post

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 30 23:02:47 GMT 2008


#7816: Clicking Preview before Save will result in Blank, New Post
----------------------------+-----------------------------------------------
 Reporter:  lloydbudd       |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  high            |    Milestone:  2.7      
Component:  Administration  |      Version:  2.7      
 Severity:  major           |   Resolution:           
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by azaozz):

 I think we should standardize how the Preview works for all possible post
 statuses. Doing a manual autosave and then displaying that in the preview
 window seems like a logical solution.

 To achieve that may need to put the "save" part of autosave in a separate
 function (so it's accessible without AJAX) and perhaps modify get_post() a
 bit so it can display the autosaved data.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7816#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list