Make WordPress Core


Ignore:
Timestamp:
04/16/2008 10:57:13 PM (18 years ago)
Author:
ryan
Message:

Preserve author during autosave. fixes #6753 for 2.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/wp-admin/edit-form-advanced.php

    r7670 r7709  
    5555<input type="hidden" id="hiddenaction" name="action" value="<?php echo $form_action ?>" />
    5656<input type="hidden" id="originalaction" name="originalaction" value="<?php echo $form_action ?>" />
    57 <input type="hidden" name="post_author" value="<?php echo attribute_escape( $post->post_author ); ?>" />
     57<input type="hidden" id="post_author" name="post_author" value="<?php echo attribute_escape( $post->post_author ); ?>" />
    5858<input type="hidden" id="post_type" name="post_type" value="<?php echo $post->post_type ?>" />
    5959<input type="hidden" id="original_post_status" name="original_post_status" value="<?php echo $post->post_status ?>" />
Note: See TracChangeset for help on using the changeset viewer.