<input type="hidden" id="user-id" name="user_ID" value="<?php
echo (int) $user_ID; ?>" />
<input type="hidden" id="hiddenaction" name="action" value="<?php
echo esc_attr( $form_action ); ?>" />
<input type="hidden" id="originalaction" name="originalaction" value="<?php
echo esc_attr( $form_action ); ?>" />
<input type="hidden" id="post_author" name="post_author" value="<?php
echo esc_attr( $post->post_author
); ?>" />
<input type="hidden" id="post_type" name="post_type" value="<?php
echo esc_attr( $post_type ); ?>" />
<input type="hidden" id="original_post_status" name="original_post_status" value="<?php
echo esc_attr( $post->post_status
); ?>" />
<input type="hidden" id="referredby" name="referredby" value="<?php
echo $referer ?
esc_url( $referer ) : ''; ?>" />
<?php
if ( !
empty( $active_post_lock ) ) { ?>
<input type="hidden" id="active_post_lock" value="<?php
echo esc_attr( implode( ':',
$active_post_lock ) ); ?>" />
<?php
}if ( 'draft' !==
get_post_status( $post ) ) { wp_original_referer_field( true, 'previous'
);
}echo $form_extra;
wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false
);
wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false
);
?>
<?php
/**
* Fires at the beginning of the edit form.
*
* At this point, the required hidden fields and nonces have already been output.
*
* @since 3.7.0
*
* @param WP_Post $post Post object.
*/