Remember the post_parent during autosaves. Props duck_. Fixes #12938
git-svn-id: https://develop.svn.wordpress.org/trunk@14057 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0197326e4c
commit
8823027da6
|
@ -264,6 +264,8 @@ autosave = function() {
|
|||
post_data["excerpt"] = jQuery("#excerpt").val();
|
||||
if ( jQuery("#post_author").size() )
|
||||
post_data["post_author"] = jQuery("#post_author").val();
|
||||
if ( jQuery("#parent_id").val() )
|
||||
post_data["parent_id"] = jQuery("#parent_id").val();
|
||||
post_data["user_ID"] = jQuery("#user-id").val();
|
||||
if ( jQuery('#auto_draft').val() == '1' )
|
||||
post_data["auto_draft"] = '1';
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue